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

[enh] Display date in timezone of browser #216

Merged
merged 7 commits into from Dec 12, 2018

Conversation

Projects
None yet
2 participants
@zamentur
Copy link
Contributor

zamentur commented Dec 9, 2018

The problem

The way to manage date was not everywhere the same, this PR try to harmonize the date management.
Current date management doesn't use timezone, so somehour could be wrong.

Solution

Use formatTime everywhere to display date in the timezone of the browser.
Consider the API always returns a date containg timezone info. If not the date will be displayed as it with the browser timezone...

Status

Ready
This PR is linked to
YunoHost/yunohost#552

@kir0ul kir0ul referenced this pull request Dec 9, 2018

Merged

[enh] Human readable date #552

@zamentur

This comment has been minimized.

Copy link
Contributor Author

zamentur commented Dec 10, 2018

Ready and tested

@alexAubin alexAubin added this to the 3.4.x milestone Dec 10, 2018

@alexAubin
Copy link
Member

alexAubin left a comment

Tested and reviewed, sounds good to me 👍

@alexAubin alexAubin merged commit ee446b4 into stretch-unstable Dec 12, 2018

@alexAubin alexAubin deleted the enh-human-readable-date branch Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment