Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Mysql timezone #11

Open
Arcanum417 opened this issue Feb 3, 2017 · 3 comments
Open

Mysql timezone #11

Arcanum417 opened this issue Feb 3, 2017 · 3 comments
Labels
Milestone

Comments

@Arcanum417
Copy link

On the Mysql server I migrated to I cannot change the timezone. Timezone could be setup session by session or globally. It would be nice to set timezone for the addon part and timezone for the php part.

@alexcroox
Copy link
Owner

alexcroox commented Feb 3, 2017

The addon part uses NOW() for its date time saving which means it will use whatever the MySQL db timezone is set to. To get the php part to match that, set the timezone in config.php

@Arcanum417
Copy link
Author

Yeah, I got that. However I cannot change Mysql server timezone but I want to show Here diffrent timezone as is saved on Mysql server

@Arcanum417 Arcanum417 reopened this Feb 3, 2017
@Arcanum417
Copy link
Author

It looks like it would be easiest to manipulate the value while rendering the table. So backend still works with with Mysql timezone but you can set in config timezone for the frontend.

@alexcroox alexcroox added the v1 label Feb 4, 2017
@alexcroox alexcroox added this to the v1 refactor milestone Mar 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants