xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date ranges should honor the site timezone setting

fjarrett opened this issue · comments

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

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

@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.