mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
update date format
to format date
in oh-my.nu (#570)
This commit is contained in:
parent
83ce76d5f2
commit
1d8457fa9d
1 changed files with 2 additions and 2 deletions
|
@ -408,7 +408,7 @@ def git_right_prompt [gs os] {
|
|||
(char -u e0b2) #
|
||||
(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)
|
||||
|
@ -418,7 +418,7 @@ def git_right_prompt [gs os] {
|
|||
(char -u e0b2) #
|
||||
(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