Merged in [12341] from adam@nostrum.com.

- Legacy-Id: 12356
Note: SVN reference [12341] has been migrated to Git commit f11e1e247b
This commit is contained in:
Henrik Levkowetz 2016-11-16 03:16:47 +00:00
commit 42573d744f

View file

@ -11,7 +11,7 @@
all_items.forEach(function(item) {
if (item.day == 6) { item.day = -1; }
item.start_time = parseInt(item.time.substr(0,2),10) * 60 +
parseInt(item.time.substr(2,2),10);
parseInt(item.time.substr(2,2),10);
item.end_time = item.start_time + (item.duration / 60)
});