1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +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

@ -18,7 +18,7 @@ export def main [] {
bool: {|| if $in { '#60d3d1' } else { '#c2c300' } }
date: {|| (date now) - $in |
datetime: {|| (date now) - $in |
if $in < 1hr {
{ fg: '#fa5355' attr: 'b' }
} else if $in < 6hr {