We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20241b commit 5aa88eeCopy full SHA for 5aa88ee
src/clock_panel/TimerPanel.java
@@ -159,7 +159,7 @@ public void update() {
159
duration = duration.minusHours(hours); //subtracts the hour value from duration
160
minutes = duration.toMinutes(); //gets the amount of minutes from duration
161
duration = duration.minusMinutes(minutes); //subtracts the minutes value from duration
162
- seconds = duration.toSeconds(); //gets the amount of seconds from duration
+ seconds = duration.toMillis() / 1000; //gets the amount of seconds from duration
163
}
164
165
0 commit comments