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