QuinterApp / Quinter

The accessible Quinter Twitter client
11 stars 9 forks source link

fixed the date never being included in the output string in utils.parse_date() (re-fixes #19) #23

Closed mehgcap closed 3 years ago

mehgcap commented 3 years ago

fixed the issue in #19, where the date was always being left out in utils.parse_date(). Note to self: plus signs are kinda important.

I also moved the format string used to format the date to its own variable, just to keep things cleaner. It appeared to be identical in both places where it was defined, though one instance was when the argument's year and the current year matched, and the other was when they didn't match. I'd like to adjust things so the user has more control over all this, such as offering date/time templates as well as different behavior if the years match, but that's a separate topic.