Hi. Can anyone please explain how we can display DateTime pickers in editor friendly format - eg. British Summer Time - whilst still storing everything in UTC? I can't find any information anywhere! We're using v7.2 and need the Event Management admin interface to work for (British) humans rather than computers! Thanks!
I'm not sure this will be any use to you, but I fancied trying to create my first package as a learning exercise.
It adds a new data type called "Date Time With UTC Offset", and simply displays the time difference from UTC of whatever locale your machine is set to.
Thanks for getting back to me! My colleague has implemented a 'hack' that adjusts the javascript representation of the date on-the-fly, whilst keeping it stored as UTC. The only issue we have is that any Umbraco updates will probably overwrite the changed code :(
Backoffice dates corrected for local time?
Hi. Can anyone please explain how we can display DateTime pickers in editor friendly format - eg. British Summer Time - whilst still storing everything in UTC? I can't find any information anywhere! We're using v7.2 and need the Event Management admin interface to work for (British) humans rather than computers! Thanks!
Bump!
Hi Mike,
I'm not sure this will be any use to you, but I fancied trying to create my first package as a learning exercise.
It adds a new data type called "Date Time With UTC Offset", and simply displays the time difference from UTC of whatever locale your machine is set to.
Download here
Cheers,
Hywel
Hi Hywel,
Thanks for getting back to me! My colleague has implemented a 'hack' that adjusts the javascript representation of the date on-the-fly, whilst keeping it stored as UTC. The only issue we have is that any Umbraco updates will probably overwrite the changed code :(
But many thanks for sharing your code with us!
Cheers, Mike
is working on a reply...