mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix minus null minutes again.
This commit is contained in:
parent
ef73bb13d3
commit
0598930b09
@ -277,10 +277,13 @@
|
||||
} else if (nm == 0 && ns == 0) {
|
||||
signed = '-';
|
||||
sec = 1;
|
||||
} else if (nm == 0) {
|
||||
} else if (nm == 0 && m[1][0] == '-') {
|
||||
signed = '-';
|
||||
sec = ns;
|
||||
sec++;
|
||||
} else if (nm == 0 && m[1][0] != '-') {
|
||||
sec = ns;
|
||||
sec--;
|
||||
} else {
|
||||
signed = '';
|
||||
sec = nm * 60 + ns;
|
||||
|
Loading…
x
Reference in New Issue
Block a user