Skip to content

Use TimeZone.UTC to convert LocalDate at start of day to Instant.#181

Merged
opatry merged 1 commit intomainfrom
fix-due-date-offset-by-1
May 18, 2025
Merged

Use TimeZone.UTC to convert LocalDate at start of day to Instant.#181
opatry merged 1 commit intomainfrom
fix-due-date-offset-by-1

Conversation

@opatry
Copy link
Copy Markdown
Owner

@opatry opatry commented May 18, 2025

Description

Using current timezone was setting the date to day before at 22:00.

Checklist

  • I have read the CONTRIBUTING guide
  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing

@opatry opatry merged commit d4ac775 into main May 18, 2025
2 checks passed
@opatry opatry deleted the fix-due-date-offset-by-1 branch May 18, 2025 08:37
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.

When updating due date to a given day, it applies 1 day offset between date picker and final result

1 participant