kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Check for invalid date
rodzic
2e52b5be2a
commit
8386288f3d
|
@ -11429,9 +11429,9 @@ function workingDateChanged()
|
|||
{
|
||||
workingTimeValue.value = "00:00";
|
||||
}
|
||||
if (workingTimeValue.value.length == 0)
|
||||
if (workingDateValue.value.length == 0)
|
||||
{
|
||||
workingTimeValue.value = "1970-01-01";
|
||||
workingDateValue.value = "1970-01-01";
|
||||
}
|
||||
|
||||
var fields = workingDateValue.value.split("-");
|
||||
|
|
Ładowanie…
Reference in New Issue