aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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")