changes date format to actually expected format

This commit is contained in:
Rodrigo de Oliveira 2021-04-04 23:42:03 -03:00
parent 3ea5c2134b
commit e92a73101e
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
}