Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portal display for Dates is incorrect #181

Closed
CharlotteNewcomer opened this issue May 31, 2023 · 2 comments
Closed

portal display for Dates is incorrect #181

CharlotteNewcomer opened this issue May 31, 2023 · 2 comments

Comments

@CharlotteNewcomer
Copy link

When tapping date objects portal displays the date incorrectly. Here are some examples:

#inst "0001" ;; => #inst "0001-01-01T00:00:00.000-00:00"
(tap> #inst "0001") ;; [portal displays]: #inst "0000-12-30T00:00:00.000Z"

#inst "1000" ;; => #inst "1000-01-01T00:00:00.000-00:00"
(tap> #inst "1000") ;; [portal displays]: #inst "1000-01-06T00:00:00.000Z"
@coyotesqrl
Copy link
Contributor

That's actually a known (but not documented) difference between Clojure and Clojurescript date interpretation.
clojure/clojurescript-site#367

@djblue djblue closed this as completed in af37b6f Aug 27, 2023
@djblue
Copy link
Owner

djblue commented Aug 27, 2023

I think for now I'll add this to the Portal documentation as a limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants