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

Date display fix #174

Merged
merged 1 commit into from
May 25, 2023
Merged

Date display fix #174

merged 1 commit into from
May 25, 2023

Conversation

chadbrower0
Copy link
Contributor

@chadbrower0 chadbrower0 commented May 14, 2023

Javascript Date-object day-of-month is 1-based, does not need to add 1, per https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate

@tkriplean
Copy link
Member

Great catch Chad!

I'm going to merge this.

There's one more thing with dates that I think might help:

The client might be in quite a different local time zone than the time zone the server is using for dates. It would be nice to have the server tell the client which time zone the dates are in (via /application), and then have the prettyDate function translate the given date from the server time zone into the local time zone.

@tkriplean tkriplean merged commit 8b248bf into Considerit:master May 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants