tried to fix date bug on iphone