File Import

- Implemented import from task 1.4.3, 1.5.0, 1.6.0, plain text,
  todo.sh and task command line files.
- Implemented unit tests to cover the above.
This commit is contained in:
Paul Beckingham
2009-03-29 15:34:35 -04:00
parent c1291dc587
commit 5f4563af2f
16 changed files with 1180 additions and 54 deletions

View File

@@ -235,7 +235,7 @@ bool validDate (std::string& date, Config& conf)
{
Date test (date, conf.get ("dateformat", "m/d/Y"));
char epoch[12];
char epoch[16];
sprintf (epoch, "%d", (int) test.toEpoch ());
date = epoch;