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

Add ISO 8601 format when saving dates #5

Open
sfkaos opened this issue Feb 10, 2017 · 1 comment
Open

Add ISO 8601 format when saving dates #5

sfkaos opened this issue Feb 10, 2017 · 1 comment

Comments

@sfkaos
Copy link
Collaborator

sfkaos commented Feb 10, 2017

Add ISO 8601 format when saving dates. Get more info from Carlos

@supadupdip
Copy link
Collaborator

ISO 8601 Date format should be "2017-02-15T02:38:49.627Z" and should be saved to a field with the same name as the epoch date field but append ISO.

lastUpdated: //EPOCH
lasUpdatedISO: 2017-02-15T02:38:49.627Z

Check the mocks in the myMiracleMessages repo for appropriate fields: https://github.com/supadupdip/miracleMsgs/tree/master/mocks

The date should be retrieved from the server:
https://firebase.google.com/docs/reference/ios/firebasedatabase/api/reference/Classes/FIRServerValue

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

No branches or pull requests

2 participants