mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
rename date format
to format date
(#571)
This commit is contained in:
parent
1d8457fa9d
commit
be47e43db6
17 changed files with 37 additions and 37 deletions
|
@ -217,7 +217,7 @@ export def get_right_prompt [os use_nerd_fonts] {
|
|||
})
|
||||
(ansi { fg: $TERM_FG bg: $TIME_BG})
|
||||
(char space)
|
||||
(date now | date format '%m/%d/%Y %I:%M:%S%.3f')
|
||||
(date now | format date '%m/%d/%Y %I:%M:%S%.3f')
|
||||
(char space)
|
||||
($R)
|
||||
] | str join)
|
||||
|
@ -231,7 +231,7 @@ export def get_right_prompt [os use_nerd_fonts] {
|
|||
})
|
||||
(ansi { fg: $TERM_FG bg: $TIME_BG})
|
||||
(char space)
|
||||
(date now | date format '%I:%M:%S %p')
|
||||
(date now | format date '%I:%M:%S %p')
|
||||
(char space)
|
||||
($R)
|
||||
] | str join)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue