Calendar improvements

This commit is contained in:
2017-11-22 12:20:57 +01:00
parent 473f9ae024
commit 9d13262b97
4 changed files with 39 additions and 8 deletions

View File

@ -8,7 +8,7 @@ import { Analytics } from "./Analytics"
import { SideBar } from "./SideBar"
import { InfiniteScroller } from "./InfiniteScroller"
import { ServiceWorkerManager } from "./ServiceWorkerManager"
import { displayAiringDate, displayDate } from "./DateView"
import { displayAiringDate, displayDate, displayTime } from "./DateView"
import { findAll, delay, canUseWebP, swapElements } from "./Utils"
import * as actions from "./Actions"
import { darkTheme } from "./Actions";
@ -362,6 +362,10 @@ export class AnimeNotifier {
for(let element of findAll("utc-date")) {
displayDate(element, now)
}
for(let element of findAll("utc-date-absolute")) {
displayTime(element, now)
}
}
reloadContent(cached?: boolean) {