diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/time/instant.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux index 33cd2e5a4..48bc5414a 100644 --- a/stdlib/source/lux/time/instant.lux +++ b/stdlib/source/lux/time/instant.lux @@ -129,7 +129,7 @@ (def: parser (Parser Instant) (do {! <>.monad} - [days (\ ! map date.days date.parser) + [days (\ ! map date.to_days date.parser) _ (<t>.this ..date_suffix) time (\ ! map //.to_millis //.parser) _ (<t>.this ..time_suffix)] @@ -190,5 +190,5 @@ (def: #export (from_date_time date time) (-> Date Time Instant) (..from_millis - (i.+ (i.* (date.days date) (duration.to_millis duration.day)) + (i.+ (i.* (date.to_days date) (duration.to_millis duration.day)) (.int (//.to_millis time))))) |