Skip to content

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

@jeherve

Description

@jeherve

Description

One can pick a custom date format in their site settings over at Settings > General, or their site. However, that format isn't used in the PostScheduleLabel component.

Step-by-step reproduction instructions

  1. Go to Settings > General
  2. Change your site's date format to j F Y
  3. Go to Posts > Add New
  4. Write a new post
  5. Hit "Publish"
  6. Check the date displayed, it doesn't use that format.

Note

You may have to change your site's timezone settings so it doesn't match your own timezone, otherwise you'll see "Today" being used instead of the date.

Screenshots, screen recording, code snippet

Image

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions