diff options
author | Eduardo Julian | 2017-07-29 18:53:21 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-07-29 18:53:21 -0400 |
commit | 29937554a211a602612d79b0fc58fc788d9ab919 (patch) | |
tree | 437c89915ba011d8ce7e35d3ed33f8b23eb808fb /stdlib | |
parent | f502efa593f22c82d2ae4cee70be90b5e3c96fe8 (diff) |
- Fixed a bug when calculating the month of a date.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/time/instant.lux | 2 |
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 |