• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DavidCain / mitoc-trips / 234
86%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2019 06:29AM UTC
Jobs 1
Files 131
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
234

push

travis-ci

DavidCain
Make date utilities return localized datetimes

Date utilities should always be returning timezone-aware datetimes (in
the local time of EST/EDT). Reasons to do this:

- MITOC will always operate in `America/New_York` (or whatever other
  timezone Boston/New Hampshire elect to be in)
- We have little need for naive datetimes. Accidentally passing one
  to a Django model (that expects timezone-aware) raises warnings.
- The models really have no business localizing datetimes.

While we're at it, expand test coverage (and drop an unused method).

589 of 1380 branches covered (42.68%)

Branch coverage included in aggregate %.

4923 of 6923 relevant lines covered (71.11%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 234.1 (GEAR_DATABASE_USER='travis' GEAR_DATABASE_PASSWORD='') 24 Sep 2019 06:29AM UTC 0
66.39
Travis Job 234.1
Source Files on build 234
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #234
  • a2a05b4c on github
  • Prev Build on master (#233)
  • Next Build on master (#235)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc