New UI for Event Date block; renaming files and vars for consistency. #873
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
New UI for Event Date includes a duration dropdown of 1, 1.5, 2, 3 hours to choose from. This makes it easier to select start and end dates as this is relative to the start date. The option to select both start and end dates are still available, though this UI is probably less used than simply choosing form pre-selected durations.
Minor refactoring changing instances of TimeZone and timeZone to Timezone and timezone for consistency in code. Removed code that is no longer needed as well.
Screenshot of new UI:
How to test the Change
Create and update old events. Things to test:
Changelog Entry
Credits
Props @mauteri
Checklist: