aboutsummaryrefslogtreecommitdiff
path: root/src/store/index.ts
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-08-22 20:18:16 -0500
committerFurkan Sahin <furkan-dev@proton.me>2022-08-22 20:18:16 -0500
commitc4af212a9951841a5e5ecc29343d57cbc1f3376c (patch)
treea61009114930162435e3f677de14a70a067c601a /src/store/index.ts
parent3a78cf9915ccb36bb8a4b55e50faee65ae65bdb3 (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/store/index.ts')
0 files changed, 0 insertions, 0 deletions