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

Ensure that timezones are ignored when saving dates selected with the datepicker #236

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

Windvis
Copy link
Contributor

@Windvis Windvis commented Jan 6, 2022

Timezone information isn't useful for the dates that can be selected in our app. It should show the same date regardless of what timezone you are in.

ember-mu-transform-helpers overwrites the date transform from Ember Data with a version which only serializes the date itself (not the time). This is what we need for most of our datepickers.

No other code changes are needed since we already use the date transform.

This addon overwrites the `date` transform from Ember Data with a version which only serializes the date itself (not the time). This is what we need for most of our datepickers.
@nbittich nbittich merged commit f2262d9 into development Jan 6, 2022
@nbittich nbittich deleted the chore/install-ember-mu-transform-helpers branch January 6, 2022 09:20
@Windvis Windvis added the bug Something isn't working label Jan 13, 2022
@Windvis Windvis changed the title Install ember-mu-transform-helpers Ensure that saving dates doesn't persist the timezone Jan 13, 2022
@Windvis Windvis changed the title Ensure that saving dates doesn't persist the timezone Ensure that timezones are ignored when saving dates selected with the datepicker Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants