mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
l10n: Eliminated STRING_DATE_INVALID_FORMAT
This commit is contained in:
parent
d56487e509
commit
f6d2fe6093
10 changed files with 1 additions and 10 deletions
|
@ -242,7 +242,7 @@ void ColumnTypeDate::modify (Task& task, const std::string& value)
|
|||
// If a date doesn't parse (2/29/2014) then it evaluates to zero.
|
||||
if (value != "" &&
|
||||
evaluatedValue.get_date () == 0)
|
||||
throw format (STRING_DATE_INVALID_FORMAT, value, Variant::dateFormat);
|
||||
throw format ("'{1}' is not a valid date in the '{2}' format.", value, Variant::dateFormat);
|
||||
|
||||
task.set (_name, evaluatedValue.get_date ());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue