dssg / dssg/police-eis

Standardize storing of datetime objects in python code

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
56
Forks
19
PR merge metrics
No merged PRs in 30d

Description

In the code right now, 'datetimes' are stored a couple different ways:
- as python datetime.datetime objects
- as strings of the format '20Jul2016'
- as strings of the format '2016-07-20 21:30:00'

This is sub-optimal.

I vote we store all 'datetimes' as python datetime.datetime objects internally, and then convert them to strings in the appropriate format at the endpoint where they get used

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.