1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

readd maintainer time

This commit is contained in:
Darren Schroeder 2021-08-29 16:44:19 -05:00
parent 130cb37d2c
commit dff3cce212

19
maintainer_time.nu Normal file
View file

@ -0,0 +1,19 @@
let m_table = (
[
['name', 'tz', 'time'];
['andres' 'America/Guayaquil' ' ']
['fdncred' 'US/Central' ' ']
['gedge' 'US/Eastern' ' ']
['jt' 'NZ' ' ']
['wycats' 'US/Pacific' ' ']
['kubouch' 'Europe/Helsinki' ' ']
['elferherrera' 'Europe/London' ' ']
]
)
let now = (date now)
$m_table | update time {
each { |name|
$now | date to-timezone ($name | get tz) | date format '%c'
}
}