Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(datetime): remove the automatic switching from am to pm and vice versa #22207

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

brandyscarney
Copy link
Member

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

It was previously thought to be the intended behavior to switch from am -> pm and vice versa when going from 12 am / pm to another number but I've discovered this was never how it worked.

Issue Number: fixes #18924 fixes #22171 fixes #22199

What is the new behavior?

  • No longer automatically switch between AM/PM when going from or to 12

Does this introduce a breaking change?

  • Yes
  • No

Other information

@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label Sep 29, 2020
@brandyscarney brandyscarney changed the title fix(datetime): remove the automatic switching from am to pm fix(datetime): remove the automatic switching from am to pm and vice versa Sep 29, 2020
@brandyscarney brandyscarney merged commit f81d18c into master Sep 29, 2020
@brandyscarney brandyscarney deleted the fix-datetime-ampm-switching branch September 29, 2020 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
2 participants