Skip to content

Conversation

@benazeer-ben
Copy link
Contributor

@benazeer-ben benazeer-ben commented Dec 3, 2024

What?

Fixes #67486

Why?

Date format from general settings isn't used in the PostScheduleLabel component.

How?

Modified the code to apply the changes to post schedule label format based on the general settings time and date format.

Testing Instructions

  • Go to Settings > General
  • Change your site's date format to j F Y
  • Go to Posts > Add New
  • Write a new post
  • Hit "Publish"
  • Check the date displayed, it will display the selected format.

Screenshots or screencast

Before After
beforfix afterfix

@github-actions
Copy link

github-actions bot commented Dec 3, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: benazeer-ben <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended Internationalization (i18n) Issues or PRs related to internationalization efforts labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Internationalization (i18n) Issues or PRs related to internationalization efforts [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internationalization / Date format: PostScheduleLabel format does not match date format settings

2 participants