diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/time/instant.lux | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux index 252fccc68..0dd2c030b 100644 --- a/stdlib/source/lux/time/instant.lux +++ b/stdlib/source/lux/time/instant.lux @@ -15,12 +15,10 @@ [data ["." maybe] [number - ["n" nat ("#@." decimal)] - ["i" int ("#@." decimal)]] - ["." text ("#@." monoid)] + ["i" int]] + ["." text ("#\." monoid)] [collection - ["." row] - ["." list ("#@." fold)]]] + ["." row]]] [type abstract]] ["." // (#+ Time) @@ -123,7 +121,7 @@ (-> Instant Text) (let [[date time] (..date-time instant) time (..clock-time time)] - ($_ text@compose + ($_ text\compose (:: date.codec encode date) ..date-suffix (:: //.codec encode time) ..time-suffix))) |