[BUGFIX] use Date.format helper instead of DateTime::format

Without this change, Eel throws an error because DateTime::format
cannot be called because the protected context is used