Use floating timezone when handling dates without hours, minutes and seconds

Fix for http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12669.