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.

  • Comment author was deleted

    Dec 09, 2013 @ 10:02

    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)

  • Comment author was deleted

    Dec 09, 2013 @ 10:46

    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

  • Comment author was deleted

    Dec 09, 2013 @ 11:41

    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.

  • Comment author was deleted

    Dec 10, 2013 @ 10:53

    Ah great glad it's solved :)

Please Sign in or register to post replies

Write your reply to:

Draft