ralphbean / taskw

python taskwarrior api
http://threebean.org
GNU General Public License v3.0
176 stars 47 forks source link

Marshal=True results in loss of timestamp for annotations. #164

Open jahagirdar opened 1 year ago

jahagirdar commented 1 year ago

Whithout marshal, the annotation field is an array of dictionary of data and description fields

 w=TaskWarrior()
w.get_task(id=94)

(..., 'annotations': [{'entry': '20221115T063638Z', 'description': 'something something.'}],...)

With marshal set to true the annotation field is a simple list of text, the date is lost.

w=TaskWarrior(marshal=True)
w.get_task(id=94)
(.... 'annotations': ['something something.'],...)