Partially fixes date and time formatting, uses the locale now, but prints
extra 0's where GM does not, also uses a 24 hour clock instead of 12 hour,
and does not print AM/PM with %p like GM does.