handle zero relative time seconds

This commit is contained in:
Mononaut 2024-07-06 05:48:43 +00:00
parent be72a26760
commit 3425bdd100
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

View File

@ -78,7 +78,7 @@ export class TimeComponent implements OnInit, OnChanges, OnDestroy {
}
calculate() {
if (!this.time) {
if (this.time == null) {
return;
}