mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
066dff4123
@ -245,7 +245,7 @@ class DateField extends TextField {
|
|||||||
$this->valueObj = null;
|
$this->valueObj = null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Setting in corect locale.
|
// Setting in correct locale.
|
||||||
// Caution: Its important to have this check *before* the ISO date fallback,
|
// Caution: Its important to have this check *before* the ISO date fallback,
|
||||||
// as some dates are falsely detected as ISO by isDate(), e.g. '03/04/03'
|
// as some dates are falsely detected as ISO by isDate(), e.g. '03/04/03'
|
||||||
// (en_NZ for 3rd of April, definetly not yyyy-MM-dd)
|
// (en_NZ for 3rd of April, definetly not yyyy-MM-dd)
|
||||||
|
Loading…
Reference in New Issue
Block a user