#391 fix in date extension