Skip to content

Commit ba7e85c

Browse files
authored
Merge pull request #128 from kwbr/main
Retrieve today's date using the local timezone
2 parents a34f197 + 5d808ed commit ba7e85c

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)