These are sorted by the date and listed accordingly, events with a date before todaysdate is removed from the list by the xslt.
Im using a "datepicker with time" property on the events.
When I click publish on each event this is saved correctly, but when I click "publish entire site" or publish "hjem and every subpage" the date on the events change format from yyyy-mm-dd to yyyy-dd-mm which makes my xslt sorting on the page all wrong. This doesnt happen with events thats saved with a date higher then the 12th day before the switch happens (this because there are only 12 months i presume).
Why is this happening?
I suspect that there are a conflict between umbraco (running on a swedish server) and the "autofolders" package that probably has the american date format hardcoded somewhere. But thats just a guess on my part.
We are runnning:
# umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)
# Microsoft .NET Framework 3.5 SP1
# Windows Server 2003, IIS6
Problem with datetime switch between formats after publishing
I have set up and site for a customer at my work, this site lists events on a page:
http://moementum.no/treningsdatoer
These are sorted by the date and listed accordingly, events with a date before todaysdate is removed from the list by the xslt.
Im using a "datepicker with time" property on the events.
When I click publish on each event this is saved correctly, but when I click "publish entire site" or publish "hjem and every subpage" the date on the events change format from yyyy-mm-dd to yyyy-dd-mm which makes my xslt sorting on the page all wrong. This doesnt happen with events thats saved with a date higher then the 12th day before the switch happens (this because there are only 12 months i presume).
Why is this happening?
I suspect that there are a conflict between umbraco (running on a swedish server) and the "autofolders" package that probably has the american date format hardcoded somewhere. But thats just a guess on my part.
We are runnning:
# umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)
# Microsoft .NET Framework 3.5 SP1
# Windows Server 2003, IIS6
And have innstalled these packages:
# ImprovedMediaPicker
# AutoFolders
It's a known bug which has been reported on Codeplex and has been solved in changeset 62299.
Cheers,
/Dirk
Okey, thx. I searched for it, but used the wrong searchkriteria, obviously. :)
is working on a reply...