Copied to clipboard

Flag this post as spam?

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


  • MK 429 posts 906 karma points
    Jan 15, 2013 @ 10:37
    MK
    0

    Date picker format

    Hi there,

    How do one can change the date format?

    Regards,

    mkariti

  • Comment author was deleted

    Jan 15, 2013 @ 10:39

    Hi,

    The format is set by the current culture so changing that (by assigning a langauge to a node structure) should take care of it

  • MK 429 posts 906 karma points
    Jan 15, 2013 @ 10:42
    MK
    0

    Hi Tim,

    Again, Many thanks for your fast reply!

    I was aware of that but for some reason my culture is set to uk and In the front end I still get the usa format?!

    It is multiple language website on both languages I get the usa format no matter the culture.

    Regards,

    mkariti

     

  • Comment author was deleted

    Jan 15, 2013 @ 10:43

    Or if you are using the razor macro you could also customize \Umbraco\plugins\umbracoContour\Views\SCripts.cs

    And update 

    <script type="text/javascript">
           var contourDateFormat = "@Html.ConvertDateFormat()";
        </script>

    to your needs

  • MK 429 posts 906 karma points
    Jan 15, 2013 @ 10:48
    MK
    0

    Excellent!

    I'm using the Razor macro.

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies