Fix github-db date handling