Unverified Commit b98e98d9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

travelynx-actions: do not compute delay if scheduled == 0

parent 06234df5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -75,6 +75,9 @@ function hhmm(epoch) {
	return (h < 10 ? '0' + h : h) + ':' + (m < 10 ? '0' + m : m);
}
function odelay(sched, rt) {
	if (sched == 0) {
		return '';
	}
	if (sched < rt) {
		return ' (+' + ((rt - sched) / 60) + ')';
	}