Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Localize DateTimePicker Component #11938
wp-date is deprecating its moment method, so we need to localize
How has this been tested?
Types of changes
To test, check out the branch, set your language in wp-admin, then open the "Publish" date picker on a post. All the changes are in PHP so no rebuild is needed.
I've checked and different apps have different ways to localize dates in Spanish: I get lowercase months in some and uppercase in others.
In case it's helpful, I've checked the Spanish translations in GlotPress (WordPress project) and they are consistent with what I saw in the settings page/calendar (lowercase for weekdays and whole months, uppercase for 3-letter months):