Fix sqlite timezone issue