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

Offline logs #64

Merged
merged 31 commits into from
Sep 1, 2022
Merged

Offline logs #64

merged 31 commits into from
Sep 1, 2022

Conversation

Nnanyielugo
Copy link
Collaborator

No description provided.

...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(),
Copy link
Collaborator

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

Copy link
Collaborator Author

@Nnanyielugo Nnanyielugo Aug 29, 2022

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.

Copy link
Collaborator

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

@Nnanyielugo Nnanyielugo merged commit 35f0c1a into main Sep 1, 2022
@Nnanyielugo Nnanyielugo deleted the offline-logs branch September 1, 2022 15:28
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

2 participants