Open
Description
When #inst
values are parsed and printed in Clojure, by default the Gregorian calendar is used. In particular, this is a hybrid Julian / Gregorian calendar with a changeover in 1582.
On the other hand, ClojureScript uses the JavaScripts Date
type for #inst
values, which employs a proleptic Gregorian calendar. This host-specific aspect is reflected in #inst
parsing and printing.
A consequence of this difference in default #inst
handling is that older dates will be interpreted differently. For example #inst "1500"
denotes two different instances in time in Clojure vs. ClojureScript.
This could be detailed in the "Differences" page, perhaps in the reader section.
Metadata
Metadata
Assignees
Labels
No labels