Fix Date creation for timezone with change at midnight

Fixing https://bugs.launchpad.net/openerp-web/+bug/1068105
review1281002