Java 6 compatible date ISO formatting

as pattern X is Java 7 and Z is not really ISO.

See https://www.redhat.com/archives/spacewalk-devel/2014-May/msg00004.html