diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-08-22 20:18:16 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-08-22 20:18:16 -0500 |
| commit | c4af212a9951841a5e5ecc29343d57cbc1f3376c (patch) | |
| tree | a61009114930162435e3f677de14a70a067c601a /src/DarkModeSwitch.svelte | |
| parent | 3a78cf9915ccb36bb8a4b55e50faee65ae65bdb3 (diff) | |
`fix`: Convert Strawpoll EST to CST
Strawpoll results are in EST (even though the poll itself is CST). Instead of using strawpoll's provided time, parse the time into a Date object and then append 30 minutes to get `end` for EventInfo.
Notes took:
- EventInfo types are NOT parsed as Date objects with an offset to represent [stard, end]
- Strawpoll does NOT output time in ISO 8601 format
These 2 design flaws introduce unnecessary complexity
Diffstat (limited to 'src/DarkModeSwitch.svelte')
0 files changed, 0 insertions, 0 deletions
