add fix for localizing date