Copied to clipboard

Flag this post as spam?

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


  • Oscar Svedberg 19 posts 82 karma points
    Apr 28, 2015 @ 19:42
    Oscar Svedberg
    0

    DateTime format in edit mode

    Not sure if this has been covered before, but I couldn't find a topic about it.

    The date/time format in the date pickers are set to 24hr time and I would like it to be 12hr time. Is that possible? Would that be a setting in the plugin or in the Umbraco core?

    Been trying to edit the format in editor.html, but that doesn't seem to change anything.

    Thanks in advance!

  • Ole Martin Bakke 112 posts 624 karma points
    Apr 29, 2015 @ 09:36
    Ole Martin Bakke
    100

    Hi! I would not recommend changing the time-format, because that would break the logic checking if end-date is greater than start-date. I haven't done much testing on this, but it could also have some influence on the logic listing events.

    If would like to look into it, the right place would be in the editor.controller.js, but then you also have to update the function validateEndDate() and the functions used by validateEndDate(). If you find some good solutions on making this dynamic, please share

  • Oscar Svedberg 19 posts 82 karma points
    Apr 30, 2015 @ 20:51
    Oscar Svedberg
    0

    Ok thanks Ole!

    I don't have time to deep dive into it right now, but will keep that in mind when time is available!

Please Sign in or register to post replies

Write your reply to:

Draft