replace _DATE_FMT with format specifiers

Bring into conformance with [Open Group Base Specifications](http://pubs.opengroup.org/onlinepubs/007904975/basedefs/langinfo.h.html). Or bypass nl_langinfo to pass the format specifiers directly and conform to ISO.