Bugfix: conversion of an empty string to a date or hour object