Skip to content

Commit df09a86

Browse files
authored
Merge pull request #3877 from randyheydon/agenda_clkinfo
agenda: Change clockinfo title truncation to preserve images
2 parents 1cdbc5c + e2971e5 commit df09a86

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

apps/agenda/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@
1818
0.16: Correct date for all day events in negative timezones, improve locale display
1919
0.17: Fixed "Today" and "Tomorrow" labels displaying in non-current weeks
2020
0.18: Correct date in clockinfo for all-day events in negative timezones
21+
0.19: Change clockinfo title truncation to preserve images

apps/agenda/agenda.clkinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
agenda.forEach((entry, i) => {
6666

67-
var title = entry.title.slice(0,12);
67+
var title = g.setFont("6x8").wrapString(entry.title,100)[0];
6868
// All day events are always in UTC and always start at 00:00:00, so we
6969
// need to "undo" the timezone offsetting to make sure that the day is
7070
// correct.

apps/agenda/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "agenda",
33
"name": "Agenda",
4-
"version": "0.18",
4+
"version": "0.19",
55
"description": "Simple agenda",
66
"icon": "agenda.png",
77
"screenshots": [{"url":"screenshot_agenda_overview.png"}, {"url":"screenshot_agenda_event1.png"}, {"url":"screenshot_agenda_event2.png"}],

0 commit comments

Comments
 (0)