Skip to content

fix: Fix mongoDB date format in db (from string to ISODate) #254

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

Merged
merged 2 commits into from
Jul 17, 2025

Conversation

yaroslav8765
Copy link

No description provided.

@yaroslav8765 yaroslav8765 requested a review from ivictbor July 17, 2025 10:00
// value is iso string now, convert to unix timestamp
return dayjs(value).toISOString();
}
return dayjs(value).toDate();
Copy link
Contributor

Choose a reason for hiding this comment

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

@yaroslav8765 please outdent right 2 spaces

@yaroslav8765 yaroslav8765 requested a review from ivictbor July 17, 2025 10:21
@ivictbor ivictbor merged commit 8a8b669 into next Jul 17, 2025
1 check passed
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.

2 participants