Skip to content

fix(db-mongodb): localized dates being returned as date objects instead of strings #12354

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

Conversation

paulpopus
Copy link
Contributor

Fixes #12334

We weren't passing locale through to the Date transformer function so localized dates were being read as objects instead of strings.

@paulpopus paulpopus merged commit c43891b into main May 11, 2025
81 checks passed
@paulpopus paulpopus deleted the fix/mongodb-localized-dates-being-returned-as-date-objects-instead-of-strings branch May 11, 2025 00:15
kendelljoseph pushed a commit that referenced this pull request May 15, 2025
…ad of strings (#12354)

Fixes #12334

We weren't passing locale through to the Date transformer function so
localized dates were being read as objects instead of strings.
Copy link
Contributor

🚀 This is included in version v3.38.0

kendelljoseph pushed a commit that referenced this pull request May 19, 2025
…ad of strings (#12354)

Fixes #12334

We weren't passing locale through to the Date transformer function so
localized dates were being read as objects instead of strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Localized date field returns wrong type
2 participants