diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-17 14:49:03 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-17 14:49:03 -0500 |
| commit | 4231789b71bb42c4ab04e125f98fe5eb3cf030b6 (patch) | |
| tree | c73aafaeef60b77555cfd25ccd30c618e431d52a /test | |
| parent | c1ae79ac3c320923363994fb88f4cc2fa13317ce (diff) | |
Rename datetime -> moment
Diffstat (limited to 'test')
| -rw-r--r-- | test/moments.tm (renamed from test/datetime.tm) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/datetime.tm b/test/moments.tm index 64077c27..085237ca 100644 --- a/test/datetime.tm +++ b/test/moments.tm @@ -2,7 +2,7 @@ func main(): >> 2024-1-1 12:00[America/New_York] == 2024-1-1T09:00[America/Los_Angeles] = yes - >> 2024-1-1 12:00[America/New_York] == DateTime(2024, 1, 1, hour=9, timezone="America/Los_Angeles") + >> 2024-1-1 12:00[America/New_York] == Moment(2024, 1, 1, hour=9, timezone="America/Los_Angeles") = yes >> t := 2024-1-2 13:45[America/New_York] @@ -37,7 +37,7 @@ func main(): >> t:unix_timestamp() = Int64(1704221100) - >> t == DateTime.from_unix_timestamp(1704221100) + >> t == Moment.from_unix_timestamp(1704221100) = yes >> t < t:after(minutes=1) |
