Upgrade cljs + shadow

- Upgraded shadow to keep goog compiler versions the same
- Converted some safe-parse-int's to parse-long
- Converted some safe-parse-float's to parse-double
- Simplified impl of safe-parse-* fns
This commit is contained in:
Gabriel Horner
2022-05-16 21:21:47 -04:00
committed by Tienson Qin
parent 29eb3dbca9
commit fec0b755a8
12 changed files with 26 additions and 58 deletions

View File

@@ -67,7 +67,7 @@
(date/journal-title->int input)))
:else
(let [duration (util/parse-int (subs input 0 (dec (count input))))
(let [duration (parse-long (subs input 0 (dec (count input))))
kind (last input)
tf (case kind
"y" t/years
@@ -99,7 +99,7 @@
(date/journal-title->long input)))
:else
(let [duration (util/parse-int (subs input 0 (dec (count input))))
(let [duration (parse-long (subs input 0 (dec (count input))))
kind (last input)
tf (case kind
"y" t/years