MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / fmtDateTime

Function fmtDateTime

CustomerManager/Scripts/breeze.debug.js:5535–5542  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

5533 };
5534
5535 var fmtDateTime = function (val) {
5536 if (val == null) return null;
5537 try {
5538 return "datetime'" + val.toISOString() + "'";
5539 } catch (e) {
5540 throwError("'%1' is not a valid dateTime", val);
5541 }
5542 };
5543
5544 var fmtDateTimeOffset = function (val) {
5545 if (val == null) return null;

Callers

nothing calls this directly

Calls 1

throwErrorFunction · 0.85

Tested by

no test coverage detected