Refactor date/time formatting

Formatting the date/time now takes place in `date_time_layer.c`