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

Updating a date type field makes the date go one day before the selected date. #9698

Closed
lucasbordeau opened this issue Jan 16, 2025 · 4 comments

Comments

@lucasbordeau
Copy link
Contributor

Bug Description

See #9486 first issue

Technical inputs

This bug happens in GraphqlQueryUpdateOneResolverService when we update a date field type (not datetime !).

This block of code :

const nonFormattedUpdatedObjectRecords = await queryBuilder
  .update(data)
  .where({ id: executionArgs.args.id })
  .returning('*')
  .execute();
@yadavshubham01
Copy link
Contributor

hey @lucasbordeau i want to work on this issue assign me

@lucasbordeau
Copy link
Contributor Author

Hi @yadavshubham01 sorry I created the issue but I finally had to fix it because it was quite critical and complex. I'm closing this issue.

@lucasbordeau
Copy link
Contributor Author

See relevant PR : #9700

@yadavshubham01
Copy link
Contributor

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants