-
Notifications
You must be signed in to change notification settings - Fork 0
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
Offline logs #64
Offline logs #64
Conversation
...values, | ||
beach_id: values.location?.beach_id, | ||
dive_shop_id: values.dive_shop?.shop_id, | ||
is_private: values.privacy === t('DIVE_LOG_PRIVATE').toLowerCase(), | ||
date_dived: new Date().toJSON(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may need to ensure that this date is in a specific format. i'll double check on the frontend code and send you an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. This one reads like 1975-08-19T23:15:30.000Z
. Basically a string representation of the Date
object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay i checked and this is the correct format
No description provided.