Skip to content

Comments

Fix incrementPomoBlock to use configured timezone#61

Merged
fatherlinux merged 1 commit intomainfrom
fix-timezone-bugs-2
Feb 6, 2026
Merged

Fix incrementPomoBlock to use configured timezone#61
fatherlinux merged 1 commit intomainfrom
fix-timezone-bugs-2

Conversation

@fatherlinux
Copy link
Owner

Summary

Fixes bug where clicking + on a PM pomodoro block added the entry in AM instead of PM.

Changes

  • Updated incrementPomoBlock() to use createDateInTimezone() instead of browser timezone
  • Added getEffectiveTimezone() call to get configured timezone

Test plan

  • Click + on a PM pomodoro block
  • Verify new entry appears in PM section (not AM)

🤖 Generated with Claude Code

The + button on pomodoro blocks was adding entries in AM instead of PM
because it used browser timezone instead of createDateInTimezone().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fatherlinux fatherlinux merged commit 1fb9efd into main Feb 6, 2026
3 checks passed
@fatherlinux fatherlinux deleted the fix-timezone-bugs-2 branch February 6, 2026 21:35
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.

1 participant