- Fixed bug #628, where dateformats containing spaces were not properly
  parsed (thanks to Steve Rader).
This commit is contained in:
Paul Beckingham 2011-02-12 14:16:06 -05:00
parent 2e9bc3194b
commit 2ac5c2f897
2 changed files with 9 additions and 5 deletions

View file

@ -100,6 +100,8 @@
'edit.verbose' can be set to 'no' and eliminate the help text when using 'edit.verbose' can be set to 'no' and eliminate the help text when using
the 'task edit' command (thanks to Steve Rader). the 'task edit' command (thanks to Steve Rader).
+ Enhanced unit tests in response to bug #624 (thanks to Steve Rader). + Enhanced unit tests in response to bug #624 (thanks to Steve Rader).
+ Fixed bug #628, where dateformats containing spaces were not properly
parsed (thanks to Steve Rader).
+ Fixed bug #641, where certain reports broke when 'dateformat' differed from + Fixed bug #641, where certain reports broke when 'dateformat' differed from
'dateformat.report'. 'dateformat.report'.
+ Fixed bug #651, which broke the edit command when a task description + Fixed bug #651, which broke the edit command when a task description

View file

@ -496,10 +496,12 @@ std::string Att::modType (const std::string& name) const
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// // ______________
// | |
// | v
// start --> name --> . --> mod --> : --> " --> value --> " --> end // start --> name --> . --> mod --> : --> " --> value --> " --> end
// | ^ // | ^ | ^
// |_____________________| // |_____________________| |_____________|
// //
void Att::parse (const std::string& input) void Att::parse (const std::string& input)
{ {
@ -538,7 +540,7 @@ void Att::parse (Nibbler& n)
// Both quoted and unquoted Att's are accepted. // Both quoted and unquoted Att's are accepted.
// Consider removing this for a stricter parse. // Consider removing this for a stricter parse.
if (n.getQuoted ('"', mValue) || if (n.getQuoted ('"', mValue) ||
n.getUntil (' ', mValue)) n.getUntilEOS (mValue))
{ {
decode (mValue); decode (mValue);
} }