a1cf4e8 and 88f8461 are recommended to apply, because they fix issues and provide better table layout.
39771d1, dedd11f, and 1015adb are optional; I will respect your preference.
For a2f1f35, I didn't understand why you run getCurrentChannel before building table; if that is from your intent, please ignore my commit.
9e21185 will improve the table building. I include splice to reduce the loop, but you can remove the statement. Note that, as it keeps Date objects, it may consume a bit more memory. (This commit is an improved version of f52b31f, which assumes the EPG data is sorted.)
a1cf4e8 and 88f8461 are recommended to apply, because they fix issues and provide better table layout.
39771d1, dedd11f, and 1015adb are optional; I will respect your preference.
For a2f1f35, I didn't understand why you run getCurrentChannel before building table; if that is from your intent, please ignore my commit.
9e21185 will improve the table building. I include
splice
to reduce the loop, but you can remove the statement. Note that, as it keepsDate
objects, it may consume a bit more memory. (This commit is an improved version of f52b31f, which assumes the EPG data is sorted.)