1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-03 15:47:47 +00:00

Fix datetime theme color (#1111)

In Nushell 0.104.0, `date` are now `datetime` ([see
blog](https://www.nushell.sh/blog/2025-04-29-nushell_0_104_0.html#date-is-now-datetime-toc)).

I just change all `date` prop to `datetime` in all themes to fix them
This commit is contained in:
Alexandre CONTASSOT 2025-05-03 15:00:56 +02:00 committed by GitHub
parent 16e22d07da
commit 4bc37c125f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
452 changed files with 452 additions and 452 deletions

View file

@ -15,7 +15,7 @@ export def main [] {
} else {{ fg: "#7aa2f7" }}
}
duration: "#a9b1d6"
date: {|| (date now) - $in |
datetime: {|| (date now) - $in |
if $in < 1hr {
{ fg: "#f7768e" attr: "b" }
} else if $in < 6hr {