changes date format to actually expected format
This commit is contained in:
parent
3ea5c2134b
commit
e92a73101e
|
@ -91,7 +91,7 @@ class Date extends Metadata_Type {
|
|||
|
||||
private function format_error_msg($value) {
|
||||
return sprintf(
|
||||
__('Invalid date format. Expected format is YYYY-MM-DD, got %s.', 'tainacan'),
|
||||
__('Invalid date format. Expected format is MM/DD/YYYY, got %s.', 'tainacan'),
|
||||
$value
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue