Re: problem with news content(start date and end date)
Philippe Vollenweider <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, This seems to be a timezone problem. Dates are stored in UTC in the database. Is the date correct in the update engine ? Philippe. At 27.01.2005 08:47, you wrote: >Hello, >i have a probleme with news content >I have add a bow of news type >The probleme is of the start date and end date wich have 1 hour later > >ex : i'm define start_date field with the calendar to 08:30 and end_date >to 9h30 >and i obtain this for my news in edit mode: > >***************************************** >test news >27 Jan 2005 / 08:30 >date dep::Thu Jan 27 09:30:00 CET 2005 >date fin::Thu Jan 27 10:30:00 CET 2005 >date courante:Thu Jan 27 08:31:45 CET 2005 >test des news et des dates de publications > >************************** > >"27 Jan 2005 / 08:30" : i have define this for start date, it seems ok >but if i print the start_date and end_date in template "box_new.inc", the >start date is 09h30 ! >I think it's a probleme of current date and time of my server but the >current date is ok : "Thu Jan 27 08:31:45 CET 2005" > >and if i return to the update news box, i have 08h30 in the calendar for >start_date ! > >perhaps somebody have idee.... >thanks >sebastien > > -------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company