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
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.
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
Any one with the same error???
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
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
is working on a reply...