olin-build / abe-web

Web Calendar front-end to ABE (Amorphous Blob of Events)
https://events.olin.build/
MIT License
5 stars 4 forks source link

Fix the time display of all day (and non-all-day) events, and handle all_day property #215

Closed osteele closed 6 years ago

osteele commented 6 years ago

Description

09dbd6f Replace allDay -> all_day in server API

Starts #214

This allows the client to work with old- and new-API servers. Once the client is deployed through to production, and then the API server is deployed through to production and on dev branches, then the API version detection can be backed out.

0e2a206 Fixes #212 all-day events have end time, other events don't

Verified by manual inspection of the snapshot file. Now that this is done, the test should prevent regressions.

Required

Changes must conform to these requirements:

Aspirational

We don't yet require these, but they are nice to have:

osteele commented 6 years ago

~CI is failing because the tests assume they're running in EDT.~ This is fixed.

Adding the following to .travis.yml would fix it for Travis, but a developer running in a different TZ could still not run the tests. Also they would stop working when EST starts.

before_install:

osteele commented 6 years ago

CI is fixed for this PR.