From ff77af9ed4e8902d574c5ea98f97aa1822a67623 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 31 Dec 2021 22:49:51 -0500 Subject: [PATCH] remove unused stub --- pttodo/ts.go | 4 ---- todo.yaml | 9 +++++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pttodo/ts.go b/pttodo/ts.go index 556ecf0..7e7c92c 100644 --- a/pttodo/ts.go +++ b/pttodo/ts.go @@ -25,7 +25,3 @@ func (ts TS) MarshalYAML() (interface{}, error) { } return int64(ts), nil } - -func (ts *TS) UnmarshalJSON(b []byte) error { - return json.Unmarshal(b, (*int64)(ts)) -} diff --git a/todo.yaml b/todo.yaml index fede9cc..9b91d2e 100644 --- a/todo.yaml +++ b/todo.yaml @@ -1,6 +1,5 @@ todo: -- vim doesnt source vimrc, so stuff like tab width and tab characters, also syntax - highlight :( +- ts to human readable - todo: when to run scheduled modifier? like, syncthing could have conflicts if I modify only file on remote ts: 1641007992 @@ -18,6 +17,12 @@ todo: let git be smart-ish and keep latest? would provide versioning OOTB without touching raw scheduled: [] done: +- here is my really here is my really here is my really here is my really here is + my really here is my really here is my really here is my really here is my really + here is my really here is my really here is my really here is my really here is + my really here is my really long string +- vim doesnt source vimrc, so stuff like tab width and tab characters, also syntax + highlight :( - crontab -e style editing to ensure good syntax - todo: YAML based todo ts: 1641007992