Fixed issues with datetime local and number formats