core: update cachew annotations

orgmode: expose method to construct cacheable note
This commit is contained in:
Dima Gerasimov 2020-10-14 22:05:42 +01:00 committed by karlicoss
parent bdfac96352
commit 2a2478bfa9
3 changed files with 33 additions and 12 deletions

View file

@ -40,6 +40,7 @@ class Entry(NamedTuple):
def timestamp(self) -> datetime:
ts = self.row['timestamp']
# already with timezone apparently
# TODO not sure if should stil localize though? it only kept tz offset, not real tz
return fromisoformat(ts)
# TODO also has gps info!