Copied to clipboard

Flag this post as spam?

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


  • KB 14 posts 95 karma points
    Aug 27, 2015 @ 10:49
    KB
    0

    Validation problem with Date Picker with time on Firefox

    I'm having problem with validating Date Picker with time. After recent update from version 7.2.4 to 7.2.8 after editor is loaded the field is highlighted red and when I try to save I get an error "Property has errors" and next to the field "Invalid date". When I rewrite the same date in that field everything works fine. It only happens in Firefox, I'm using version 40.0.2

  • KB 14 posts 95 karma points
    Aug 31, 2015 @ 10:19
    KB
    0

    Any one with the same error???

    enter image description here

    enter image description here

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Aug 31, 2015 @ 13:53
    Alex Skrypnyk
    0

    Hi Kb,

    We are using Umbraco version 7.3.0-beta3 and we haven't this error. But if you are trying to select past data for Unpublish Data, we have warning message.

    Thanks, Alex

  • Terence Jee 16 posts 87 karma points
    Sep 03, 2015 @ 22:01
    Terence Jee
    1

    I got the same issue. On line 4904 on Umbraco/js/umbraco.controller.js they have this line:

    element.datetimepicker("setValue", $scope.model.value ? new Date($scope.model.value) : moment());

    It'll work if you update it to this: element.datetimepicker("setValue", $scope.model.value ? moment($scope.model.value) : moment());

    I think IE has issues recognizing the format "YYYY-MM-DD HH:mm:ss" when converting to date. So it'll have to converted to date using moment.

    Terence

Please Sign in or register to post replies

Write your reply to:

Draft