mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
This PR is part of porting all old scripts #221 and ports all root `before_v0.60/*.nu` scripts to `modules/*.nu`
This commit is contained in:
parent
bb814f1173
commit
a0e69735ed
5 changed files with 11 additions and 154 deletions
18
modules/maintainer_time.nu
Normal file
18
modules/maintainer_time.nu
Normal file
|
@ -0,0 +1,18 @@
|
|||
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' ' ']
|
||||
['storm' 'US/Pacific' ' ']
|
||||
]
|
||||
)
|
||||
let now = (date now)
|
||||
$m_table | update time {|row|
|
||||
$now | date to-timezone ($row | get tz) | format date '%c'
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue