From 9b63fd6068df4a67318d71b3f429bea017d2c48c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 22 Dec 2012 11:06:38 -0500 Subject: [PATCH] Bug #1128 - Fixed bug #1128, which caused 'age' columns to be right-justified instead of left-justified (thanks to Steve Rader). --- ChangeLog | 6 ++++-- src/columns/ColDate.cpp | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f2fc1e02..d693239dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,11 +14,11 @@ Features string for the column name (thanks to Uli Martens). + Added Feature #1069, which gives a clearer error when a UDA is added without the uda..type variable. + + Added Feature #1099, which supports the 'color.uda.' color rule + (thanks to Florian Hollerweger). + Added Feature #1124, which provides a '_show' command that displays all configuration defaults and settings, for use by third-party software (thanks to Jake Bell). - + Added Feature #1099, which supports the 'color.uda.' color rule - (thanks to Florian Hollerweger). + Added feature #1147, applying patch to display duration of each activity session (thanks to Justin Forest). + The 'projects' command now outputs abstract parents and reduces @@ -56,6 +56,8 @@ Bugs pending task (thanks to Aikido Guy). + Fixed bug #1123, which caused the undo of a 'log' command to corrupt the data file (thanks to Tim None). + + Fixed bug #1128, which caused 'age' columns to be right-justified instead of + left-justified (thanks to Steve Rader). + Fixed bug #1150, which referenced deprecated features in the tutorial man page (thanks to Benjamin Weber). + Improved hyphenation by splitting on commas (even if no whitespace after). diff --git a/src/columns/ColDate.cpp b/src/columns/ColDate.cpp index 8588a7276..04532b168 100644 --- a/src/columns/ColDate.cpp +++ b/src/columns/ColDate.cpp @@ -178,7 +178,7 @@ void ColumnDate::render ( lines.push_back ( color.colorize ( - rightJustify ( + leftJustify ( Duration (now - date).formatCompact (), width))); } }