UTC+1 not working...
Hello I've got a problem with the DateCreated / PublicationDate... in Italy we're +1, with daylight saving so we published a document at 14.30 and it appears in the dowloadlist ad 12.30.... I've tried adding
<uiTimeZoneSettings timeZoneStandartName="W. Europe Standard Time" />
but no luck......... I'm under SF 4.1 SP1
I've checked and also on DB it's saved without any consideration of DB time.... my DB is UTC+1 daylight saving and it's saved as UTC ...I think it's correct, what I don't understand is why it won't format as +2 when loading even if it's set to in the systemconfig.config
I Haven't upgraded to this weeks SP1 yet, but the setting I've got is slightly different:
<uiTimeZoneSettings timeZoneId="W. Europe Standard Time" />
Perhaps they changed timeZoneId to timeZoneStandardName, but I think you're hitting a typo there with Standard and Standart.
I've tried your suggestion but with no luck....
but checking the uTimeZoneSettings I've noticed that there's no timeZoneStandartName nor timeZoneId
what should I do?
You can edit the template for the download list and for example replace and this:
<sitefinity:TextField runat=\"server\" DisplayMode=\"Read\" Value='<%# ((DateTime)Eval(\"DateCreated\")).ToLocalTime() %>' />
This should display the DateCreated field with the current local time.
I've found a similar solution by myself but it's a workaround... I attend that setting it in the Administration->Setting would apply this to each datetime I display, it threats, in the project...