Created
January 31, 2022 20:43
-
-
Save wperron/16fc0e096425745849ec055c0cb86470 to your computer and use it in GitHub Desktop.
Find local time for someone in the "database"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TZ=$(awk -F ',' "NR>1 && tolower(\$0) ~ /$1/ {print \$2}" people.csv) date \ | |
"+%H:%M" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Timezone | |
---|---|---|
Clara | UTC4 | |
Cami | UTC7 | |
Ximena | UTC5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment