From 29937554a211a602612d79b0fc58fc788d9ab919 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 29 Jul 2017 18:53:21 -0400 Subject: - Fixed a bug when calculating the month of a date. --- stdlib/source/lux/time/instant.lux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/source') 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 -- cgit v1.2.3