Allow DateTimeFormatter to format zero.

This addresses the note raised in issue #4393 after merge that zero is a
valid UNIX timestamp.