Copied to clipboard

Flag this post as spam?

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


  • Pavel Shishkin 7 posts 58 karma points
    Dec 09, 2013 @ 08:09
    Pavel Shishkin
    0

    DatePicker field: Specified cast is not valid

    Any date entered into a datepicker field returns "Specified cast is not valid".

    Also  the datepicker renders in English despite russian language set in "Culture and hostnames" and "Settings".

    Contour version 3.0.17, Umbraco v6.1.5

    What can be done?

    Thank you.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 09, 2013 @ 10:02
    Tim Geyssens
    0

    Using the razor macro?

  • Pavel Shishkin 7 posts 58 karma points
    Dec 09, 2013 @ 10:17
    Pavel Shishkin
    0

    Yes I'm using the razor macro.

    (Also the english words problem was resolved by editing Umbraco\Plugins\umbracoContour\scripts\jquery-ui-1.8.11.min.js)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 09, 2013 @ 10:46
    Tim Geyssens
    0

    Hmm how does the russian date format look like?

  • Pavel Shishkin 7 posts 58 karma points
    Dec 09, 2013 @ 11:02
    Pavel Shishkin
    0

    dd.mm.yy - and that's how it's put in the field by the date picker

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 09, 2013 @ 11:41
    Tim Geyssens
    0

    Ok thanks will try to reproduce

  • Pavel Shishkin 7 posts 58 karma points
    Dec 10, 2013 @ 06:52
    Pavel Shishkin
    101

    Can't believe I didn't think of it before. The error occured because I had changed the type of an existing field instead of adding the field anew.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 10, 2013 @ 10:53
    Tim Geyssens
    0

    Ah great glad it's solved :)

  • 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