shutupflanders / moneydashboard

Python library for MoneyDashboard
MIT License
12 stars 4 forks source link

Improve date formatting for last_update #6

Closed m-roberts closed 4 years ago

m-roberts commented 4 years ago
import dateutil.parser

...

account['last_update'] = dateutil.parser.parse(account['last_update']).strftime('%c')
shutupflanders commented 4 years ago

Thanks for the suggestion, but I'd say this is subjective, it's much easier to parse an ISO8601 date.

m-roberts commented 4 years ago

I think that's a fair comment. Will close!