mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
Fixed bug where seconds were always zero because % was misspelled as /
This commit is contained in:
parent
277278b331
commit
46e19f9c80
@ -126,7 +126,7 @@ public abstract class Calendar {
|
||||
int hour = remainder / MILLIS_PER_HOUR;
|
||||
remainder = remainder % MILLIS_PER_HOUR;
|
||||
int minute = remainder / MILLIS_PER_MINUTE;
|
||||
remainder = remainder / MILLIS_PER_MINUTE;
|
||||
remainder = remainder % MILLIS_PER_MINUTE;
|
||||
int second = remainder / MILLIS_PER_SECOND;
|
||||
fields[YEAR] = year;
|
||||
fields[MONTH] = month;
|
||||
|
Loading…
Reference in New Issue
Block a user