Skip to content

fix(datetime): date strings no longer revert to previous day - #18018

Merged
liamdebeasi merged 7 commits into
masterfrom
datetime-y-m-d-fix
Apr 16, 2019
Merged

liamdebeasi merged 7 commits into
masterfrom
datetime-y-m-d-fix

Conversation

@liamdebeasi

@liamdebeasi liamdebeasi commented Apr 11, 2019 •

Copy link
Copy Markdown
Contributor

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?

Issue Number: #17977

What is the new behavior?

  • For date strings such as YYYY-MM-DD or YYYY-MM, ensure that they are not affected by any timezone offsets.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Apr 11, 2019
@liamdebeasi
liamdebeasi marked this pull request as ready for review April 12, 2019 14:11
@brandyscarney

Copy link
Copy Markdown
Member

Great fix!

@liamdebeasi
liamdebeasi merged commit cc60b60 into master Apr 16, 2019
@liamdebeasi
liamdebeasi deleted the datetime-y-m-d-fix branch April 16, 2019 16:34
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

Development

Successfully merging this pull request may close these issues.

2 participants