Default Time Zone: UTC?

More
11 years 8 months ago #34543 by ggppdk
Replied by ggppdk on topic Default Time Zone: UTC?
Of course you can store non UTC-0 in DB but it would create complications ...

Storing UTC in DB is cleaner, it is like using a single character set in your pages (utf8), it allows to have a consistent behaviour of the stored data and avoiding confusing, (you do not need to know what timezone is)

so it should be the responcibility of application to display it in the right timezone e.g. different timezone for every visitor ...

In FLEXIcontent date field this configurable , so you can use it to store, UTC+0 or non-UTC datetimes (= exactly what is typed with no conversion)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #34652 by scorpion_pt
Replied by scorpion_pt on topic Default Time Zone: UTC?

ggppdk wrote: In FLEXIcontent date field this configurable , so you can use it to store, UTC+0 or non-UTC datetimes (= exactly what is typed with no conversion)


I understand that and why the UTC should be used as default time zone.
My problem in Joomla is: if I want to offset the display of the time zone I haven't any means to do it without messing with the core code.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #34659 by ggppdk
Replied by ggppdk on topic Default Time Zone: UTC?
Hello,

1. About date field you can use as you please, just configure it as you need ,

2. About created/modified/publish-up/publish-down dates these are stored like standard Joomla does (as UTC) ,

Where ? and how do you output it?
via a FLEXIcontent template?
via a 3rd party extension?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.384 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline