aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/time/instant.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/time/instant.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux
index 4658c75d4..25df6407c 100644
--- a/stdlib/source/lux/time/instant.lux
+++ b/stdlib/source/lux/time/instant.lux
@@ -162,7 +162,7 @@
(:coerce Frac)
"lux f64 i64"))
@.python (let [time ("python import" "time")]
- (|> ("python object do" "time" time [])
+ (|> ("python object do" "time" time)
(:coerce Frac)
(f.* +1,000.0)
"lux f64 i64"))
@@ -171,8 +171,8 @@
(:coerce Int)
(i.* +1,000))
@.ruby (let [% ("ruby constant" "Time")
- % ("ruby object do" % "now")]
- (|> ("ruby object do" % "to_f")
+ % ("ruby object do" "now" %)]
+ (|> ("ruby object do" "to_f" %)
(:coerce Frac)
(f.* +1,000.0)
"lux f64 i64"))