Pull Request #121: added user's timezone to display contents in their timezone
Pull Request #121 by snehalkadwe
added user's timezone to display contents in their timezone
Description
- Get the user's timezone from the browser
- Converted the contents
startTimeUnix
to user's timezone and added a link on time to redirect it timeanddate.com
- Now the Card would dynamically display: "August 25 at 7:00 PM" in the user's local time zone.
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Responsive Testing?
(Only applicable for Frontend changes)
Checked for: (width in px)
- [ ] Laptop L - 1440px
- [ ] Laptop - 1024px
- [ ] Tablet - 768px
- [ ] Mobile M - 375px
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in modules0 Replies