newdb: Fix undefined custom dates not displaying as blank, depending on time zone