diff --git a/web/_js/time.js b/web/_js/time.js index 540dfcde..46b52394 100644 --- a/web/_js/time.js +++ b/web/_js/time.js @@ -287,7 +287,7 @@ function formatPeriod(start, end, variation) { } else periodString = start } - if (end > start) [start, end] = [end, start] + if (start > end) [start, end] = [end, start] else periodString = start + "-" + end if (periodString && variationString) return variationsConfig[variation].code + ":" + periodString if (variationString) return variationString