Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 23, 2010 @ 11:24
    Jeroen Breuer
    0

    Dates keep switching

    Hello,

    I'm using the Umbraco DateTime datatype, but it seems the dates keep switching every time I try to save. Example:

    Selected date: 2010-07-06
    After save: 2010-06-07

    If I save again the month and day switched back again. This must be a culture thing or something, but it doens't matter if I use nl-NL or en-US. Do someone else also have this problem?

  • david 46 posts 81 karma points
    Mar 23, 2010 @ 11:27
  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Mar 23, 2010 @ 11:32
    Jeroen Breuer
    0

    Thank you David! That was exactly what I was looking for.

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 22, 2010 @ 13:51
    Jeroen Breuer
    0

    I've installed the Umbraco 4.0.3 hotfix, and this solves the above problem, but the bug isn't solved completely. The dates don't get switched if I publish a node, but if I use the publish button in the menu and I choose "Publish 'nodeName' and all its subpages" the bug still occurs. After publishing all the subnodes the dates are still switched (like in the sample above). Is this also a bug in Umbraco 4.0.3 which hasn't been solved in the hotfix?

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 22, 2010 @ 14:04
    Jeroen Breuer
    0

    P.S. I'm using globalization in the web.config:

     

    <system.web>
     
    <globalization culture="nl-NL" />

     

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 26, 2010 @ 09:01
    Jeroen Breuer
    0

    Does somebody know if this is a bug in Umbraco? The dates still get switched if I publish all the nodes from the menu. I'll make a workitem for it if nobody knows.

Please Sign in or register to post replies

Write your reply to:

Draft