Skip to content

Commit 5d808ed

Browse files
committed
Retrieve today's date using the local timezone
1 parent a34f197 commit 5d808ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/date.janet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
{:year 2021 :month 12 :day 31 :week-day "Friday"}
8181
```
8282
[]
83-
(let [today (os/date)]
83+
(let [today (os/date (os/time) false)]
8484
@{:year (today :year)
8585
:month (+ (today :month) 1)
8686
:day (+ (today :month-day) 1)

0 commit comments

Comments
 (0)