Better date formatting handling
Fix some coding carelessness
Merge pull request #133 from AnyFetch/better-dates

Better date formatting handling