Copied to clipboard

Flag this post as spam?

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


  • Manue 10 posts 31 karma points
    Oct 10, 2012 @ 09:56
    Manue
    0

    umbraco 4.9 - datetimepicker

    In DateTimePicker.js i have

    "jQuery('#" + m_DateTextBox.ClientID + "').mask('"+ (this.ShowTime ? "9999-99-99 99:99" : "9999-99-99")  +"');"

    The format can't be here. It must follow the language chosen for the logged user.

  • Damjan 12 posts 31 karma points
    Aug 19, 2013 @ 19:06
    Damjan
    0

    Hi,

    did you manage to find a simple way to change the format of the date data type?
    I'm trying changing the code in

    • \Umbraco_Client\DateTimePicker\umbDateTimePicker.js 
    • \umbraco.conrols\DatePicker\DatePicker.cs
    • \umbraco.conrols\DatePicker\TimeExtensions.cs
    • \Umbraco\editContent.aspx
    • I think editContent.aspx.cs needs to be changed too, it is in Umbraco.Web.umbraco.presentation in the source code
    Thanks,
    Damjan 
Please Sign in or register to post replies

Write your reply to:

Draft