aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/time/instant.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux
index a05513374..e4e079983 100644
--- a/stdlib/source/lux/time/instant.lux
+++ b/stdlib/source/lux/time/instant.lux
@@ -315,7 +315,7 @@
(-> Instant date;Date)
(let [[[year month day] _] (extract-date instant)]
{#date;year year
- #date;month (case month
+ #date;month (case (i.dec month)
0 #date;January
1 #date;February
2 #date;March