aboutsummaryrefslogtreecommitdiff
path: root/test/datetime.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-28 13:53:15 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-28 13:53:15 -0400
commit9c302fdc34403f46572d9524309617888ba816bb (patch)
tree58ea7faf390536503de114cf2889ed85ba60df7b /test/datetime.tm
parentc632a72486d347e7ef30c0b7890e2045ed42b903 (diff)
parentce2aebe91085f987aab31bd2a49820fb605cf386 (diff)
Merge branch 'main' into internal-textsinternal-texts
Diffstat (limited to 'test/datetime.tm')
-rw-r--r--test/datetime.tm4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/datetime.tm b/test/datetime.tm
index 37559996..19ca74b0 100644
--- a/test/datetime.tm
+++ b/test/datetime.tm
@@ -29,9 +29,7 @@ func main():
>> t:hours_till(t:after(minutes=60))
= 1
- weekday := 0
- >> t:get(weekday=&weekday)
- >> weekday # 1 = Sun, 2 = Mon, 3 = Tue
+ >> t:day_of_week() # 1 = Sun, 2 = Mon, 3 = Tue
= 3
>> t:format("%A")