-
Notifications
You must be signed in to change notification settings - Fork 12
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
Pomo timer shows incorrect time left #31
Comments
I guess the minutes bit was fixed. The issue now is with the hour display. If the time left is beyond 1h, the time left is shown as x+3h, eg, If you set the timer to 1h30m, both the time left is displayed as 4h30m |
For me, both the issues are there minutes showing additional 30m and hour showing additional 5h. |
I realized the issue is that when formatting the time string, in the Using UTC to format instead of local time zone fixes the issue. Changing the format string in I have requested this change in the PR #32. Hopefully the maintainer merges this change after reviewing it. |
That actually makes sense. I hope the pr gets merged soon. |
Hey, I experience this too on a fresh install. Any progress with the PR? |
Nah, he hasn't replied yet to the PR. For now, I am using my fork. You can also use that if you want. |
🐛 Describe the bug
The issue
When I set a pomo timer of more than 60s, when displaying the timer additional 30m are added to the minute fields.
Eg: If I set a timer for 20m, it will show 50m, if I set timer for 1m 15s, it shows 31m 15s, ets. (One example included in the screenshot below)
The actual timer works correctly. Only the display, both in noice display box and lualine, are wrong.
Config(using lazy package manager):
My nvim config: nvim-config
Example screenshot
Setting pomo timer for 75s:
Timer showing 31m 10s
Timer goes to 59s once 16s have passed from original timer
Versions
My lazy-lock.json file.
The text was updated successfully, but these errors were encountered: