aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/time/date.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/world/time/date.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/world/time/date.lux b/stdlib/source/library/lux/world/time/date.lux
index 123cfb667..cf6906bee 100644
--- a/stdlib/source/library/lux/world/time/date.lux
+++ b/stdlib/source/library/lux/world/time/date.lux
@@ -166,7 +166,7 @@
[value ..section_parser]
(if (or (n.< <minimum> value)
(n.> <maximum> value))
- (<>.lifted (exception.except <exception> [value]))
+ (<>.of_try (exception.except <exception> [value]))
(in value))))]
[1 12 month_parser invalid_month]
@@ -181,7 +181,7 @@
_ (<text>.this ..separator)
.let [month (maybe.trusted (dictionary.value utc_month ..month_by_number))]
utc_day ..section_parser]
- (<>.lifted (..date utc_year month utc_day))))
+ (<>.of_try (..date utc_year month utc_day))))
(def (format value)
(-> Date Text)