We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36448
    • 58 Posts
    Hi, is it a Bug? Please can anyone confirm that or knows a solution?

    For example I have a TV Date (EventDateStart) and the Output Format is: %Y-%m-%d %R
    (also tried with %Y-%m-%d %G:i%)


    [[*EventDateStart]]

    or
    [[*EventDateStart:strtotime:date=`%Y-%m-%d %R`]]



    Strange: When I enter 2 o'clock (am), I get 3 o'clock (am)

    This happens only between 2 and 3 o'clock. All other hours working fine and I get the correct time.

    Any idea?

    Thanks Jo
    [ed. note: krischel last edited this post 7 years, 1 month ago.]
      • 3749
      • 24,544 Posts
      That's really strange. I would suspect a bug in the datepicker.

      Does it happen with publish or unpublish dates when editing a resource?
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 36448
        • 58 Posts
        Hi Bob, thanks for your answer.
        Publish or unpublish is doesn't matter and I guess it is a bug.

        I just noticed that after saving between 2 and 3 o'clock and refresh the manager always 3 o'clock is saved.

        Will report this as a bug.
        • Unixtime does not know daylight saving. Should be caused by that.
            • 36448
            • 58 Posts
            Quote from: Jako at Mar 27, 2017, 07:39 AM
            Unixtime does not know daylight saving. Should be caused by that.

            Jako, I guess you got it!
            Today it is working fine smiley

            Maybe anyone has a workaround for this issue?


            https://github.com/modxcms/revolution/issues/13397