fixed issue #346 in DateFormatter, thanks Felix Gilcher