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: correct date formatting in UTC+ timezones #14 #15

Merged
merged 1 commit into from
Aug 19, 2021
Merged

Conversation

geoffrich
Copy link
Contributor

Alaska Airlines Pull Request

Fixes #14

Summary:

Use dayjs for date formatting to fix bug with UTC+ timezones.

Validated on the local demo page by setting my timezone to Amsterdam (UTC +1) and restarting the browser. With those settings, date is incorrect on the doc site but correct on the local demo.

Not sure how to unit test this, but existing tests pass.

Demo screenshot:
image

Type of change:

Please delete options that are not relevant.

  • Revision of an existing capability

Checklist:

  • My update follows the CONTRIBUTING guidelines of this project
  • I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.

Thank you for your submission!

-- Auro Design System Team

@geoffrich geoffrich added the Status: Review Needed Work is completed, user is requesting feedback label Aug 19, 2021
@geoffrich geoffrich self-assigned this Aug 19, 2021
@geoffrich geoffrich merged commit db68120 into master Aug 19, 2021
@geoffrich geoffrich deleted the grich/14 branch August 19, 2021 19:40
@AuroDesignSystem
Copy link
Collaborator

🎉 This PR is included in version 1.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AuroDesignSystem AuroDesignSystem added the released Completed work has been released label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Completed work has been released Status: Review Needed Work is completed, user is requesting feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date incorrectly parsed for browsers in UTC+ timezones
3 participants