TW-1795: Calendar underline on Day padding
- Thanks to Renato Alves.
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
(thanks to Sebastien Badia).
|
(thanks to Sebastien Badia).
|
||||||
- TW-1792 The info command uses '0' to reference dependencies on non-
|
- TW-1792 The info command uses '0' to reference dependencies on non-
|
||||||
pending tasks.
|
pending tasks.
|
||||||
|
- TW-1795 Calendar underline on Day padding
|
||||||
|
(thanks to Renato Alves).
|
||||||
- Added 'juhannus' as a synonym for 'midsommarafton'
|
- Added 'juhannus' as a synonym for 'midsommarafton'
|
||||||
(thanks to Lynoure Braakman).
|
(thanks to Lynoure Braakman).
|
||||||
- Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
|
- Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
|
||||||
|
|||||||
@@ -516,7 +516,11 @@ std::string CmdCalendar::renderMonths (
|
|||||||
int woy = temp.weekOfYear (weekStart);
|
int woy = temp.weekOfYear (weekStart);
|
||||||
|
|
||||||
if (context.config.getBoolean ("displayweeknumber"))
|
if (context.config.getBoolean ("displayweeknumber"))
|
||||||
view.set (row, (8 * mpl), woy, color_weeknumber);
|
view.set (row,
|
||||||
|
(8 * mpl),
|
||||||
|
// Make sure the week number is always 4 columns, space-padded.
|
||||||
|
format ((woy < 10 ? " {1}" : " {1}"), woy),
|
||||||
|
color_weeknumber);
|
||||||
|
|
||||||
// Calculate column id.
|
// Calculate column id.
|
||||||
int thisCol = dow + // 0 = Sunday
|
int thisCol = dow + // 0 = Sunday
|
||||||
|
|||||||
Reference in New Issue
Block a user