bug #2948: fix bug with localtime in xen