trick for date formatter to make it work on dvices too