aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
-rw-r--r--readme.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index e32c378..05719c1 100644
--- a/main.c
+++ b/main.c
@@ -29,6 +29,7 @@
typedef struct {
char name[MAX_TASK_NAME+1]; // Allow space for null termination char.
uint32_t time[7];
+ uint64_t modified_on;
uint8_t state;
} task_t;
diff --git a/readme.md b/readme.md
index 8489b9f..5f40c50 100644
--- a/readme.md
+++ b/readme.md
@@ -11,7 +11,7 @@ Task Time Tracker
- [x] Decide once for all if I'll be using uint8_t or char for strings: use char.
- [x] maybe rename to task-time-tracker?
- [x] Remove hash stuff;
-- [ ] Tasks should have a `modified_on` timestamp field;
+- [x] Tasks should have a `modified_on` timestamp field;
- [ ] Status of task will allow to keep counting time even when the process gets terminated forcefully;
- [ ] Make sure task names don't include commas ',';
- [ ] Review code: char !uint8_t;