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.
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.