summaryrefslogtreecommitdiff
path: root/detailview.c
diff options
context:
space:
mode:
Diffstat (limited to 'detailview.c')
-rw-r--r--detailview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/detailview.c b/detailview.c
index 8095a42..2ed44c0 100644
--- a/detailview.c
+++ b/detailview.c
@@ -272,6 +272,8 @@ bool cDetailView::DrawTime(void) {
watch->AddIntToken("min", min);
watch->AddIntToken("hour", hour);
watch->AddIntToken("hmins", hourMinutes);
+ watch->AddIntToken("year", now->tm_year + 1900);
+ watch->AddIntToken("day", now->tm_mday);
watch->AddStringToken("time", *TimeString(t));
watch->AddStringToken("monthname", monthname);
watch->AddStringToken("monthnameshort", monthshort);
@@ -630,4 +632,4 @@ void cDetailView::SetEpgPictures(int eventId) {
tabs->AddStringToken(path.str(), "");
}
}
-} \ No newline at end of file
+}