tried to fix the datetime offset problem when pushing to the database