timezone #48

Closed
opened 2018-01-31 02:43:22 +00:00 by tslocum · 3 comments
tslocum commented 2018-01-31 02:43:22 +00:00 (Migrated from gitlab.com)

Created by: ghost

is there any way to set the timezone? i looked at the server config and ib code and cant seem to get the time zone set to eastern time so when one posts the time zone shows in eastern time

*Created by: ghost* is there any way to set the timezone? i looked at the server config and ib code and cant seem to get the time zone set to eastern time so when one posts the time zone shows in eastern time
tslocum commented 2018-02-13 17:54:16 +00:00 (Migrated from gitlab.com)

A timezone option would be nice to have and fairly easy to add, I will add it in fairly soon.

A timezone option would be nice to have and fairly easy to add, I will add it in fairly soon.
tslocum commented 2018-02-15 06:23:50 +00:00 (Migrated from gitlab.com)

Thanks for the kind words. For eastern time add to settings.php:

define('TINYIB_TIMEZONE', 'America/New_York');
Thanks for the kind words. For eastern time add to settings.php: ```php define('TINYIB_TIMEZONE', 'America/New_York'); ```
tslocum commented 2018-02-15 06:29:35 +00:00 (Migrated from gitlab.com)

Note that TINYIB_TIMEZONE only affects new posts as the date portion of the post data is stored in a rendered state.

Note that TINYIB_TIMEZONE only affects new posts as the date portion of the post data is stored in a rendered state.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/tinyib#48
No description provided.