Skip to content

feat(chronos): add date/time handling module#74

Merged
larsbutler merged 2 commits into
rackerlabs:masterfrom
ziadsawalha:chronos
Aug 3, 2015
Merged

feat(chronos): add date/time handling module#74
larsbutler merged 2 commits into
rackerlabs:masterfrom
ziadsawalha:chronos

Conversation

@ziadsawalha

Copy link
Copy Markdown
Contributor

This ports existing code and tests (and adds new
tests to achieve 100% coverage) from existing
projects.

This ports existing code and tests (and adds new
tests to achieve 100% coverage) from existing
projects.
Copying relevant comment from commit by mgeisler:

Before, dates were saved as

  2015-03-31 12:46:23 +0000

in Mongo. This format is not the real ISO-8601 format, which looks
like

  2015-03-31T12:46:23Z

The crucial difference is that Firefox (Iceweasel version 31.5.0)
won't parse the almost-ISO-8601 format dates. This lead to missing
dates in the UI.
Comment thread simpl/chronos.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this format, and these utilities, comply with ISO-8601, maybe leave a note/comment/documentation about that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the commit message :-)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See 1450e59

@stavxyz

stavxyz commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

LGTM

larsbutler added a commit that referenced this pull request Aug 3, 2015
feat(chronos): add date/time handling module
@larsbutler
larsbutler merged commit a7fd354 into rackerlabs:master Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants