bugfixing for dateformat translation