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 ranges should honor the site timezone setting #353

Closed
frankiejarrett opened this issue Mar 22, 2014 · 2 comments · Fixed by #370
Closed

Date ranges should honor the site timezone setting #353

frankiejarrett opened this issue Mar 22, 2014 · 2 comments · Fixed by #370
Labels

Comments

@frankiejarrett
Copy link
Contributor

Currently, the date ranges are based solely on UTC.

An offset should be applied to these date ranges so that they honor the local timezone setting of the site.

screen_shot_2014-03-21_at_11_29_10_pm

My site's local time is UTC -0500

screen shot 2014-03-21 at 11 22 40 pm

@lukecarbis
Copy link
Contributor

Also, should we display the dates using get_option( 'date_format' ) (instead of Y/m/d)?

@frankiejarrett
Copy link
Contributor Author

@lukecarbis I don't think so, I believe that setting is more for themes to use on the front end. If you look at the default post list table screen the Date column format is always Y/m/d regardless of this setting.

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

Successfully merging a pull request may close this issue.

2 participants