Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing camera to save hi res files and use UTC time #119

Merged
merged 2 commits into from
Apr 5, 2017

Conversation

mtlynch
Copy link
Collaborator

@mtlynch mtlynch commented Apr 3, 2017

Changing camera poller to use UTC time and a string timestamp format to match
the database timestamp format.

Changing the camera's resolution to be the max resolution.

Changing camera poller to use UTC time and a string timestamp format to match
the database timestamp format.

Changing the camera's resolution to be the max resolution.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.526% when pulling 481df5f on mtlynch:fix-camera-paths into dfc41fe on JeetShetty:master.

@@ -3,31 +3,34 @@

logger = logging.getLogger(__name__)

# Format of filename to write for camera image file (assumes timestamp is in
# UTC), as YYYY-MM-DDTHH:MM:SSZ (ISO 8601 format)
_FILENAME_FORMAT = '%Y-%m-%dT%H%M%SZ.jpg'
Copy link
Owner

@JeetShetty JeetShetty Apr 4, 2017

Choose a reason for hiding this comment

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

(optional) Suggest '%H-%M-%S' for readability. Seconds-level precision also seems unnecessary.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh good point. The encoder in the frontend will still JSONify it with seconds-level precision, but maybe we can address that later.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.526% when pulling 6141ed4 on mtlynch:fix-camera-paths into dfc41fe on JeetShetty:master.

@mtlynch mtlynch merged commit d891a64 into JeetShetty:master Apr 5, 2017
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.

None yet

3 participants