MCPcopy
hub / github.com/angular-ui/ui-grid / parseObservedDateValue

Function parseObservedDateValue

lib/test/angular/1.7.0/angular.js:25968–25970  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

25966 }
25967
25968 function parseObservedDateValue(val) {
25969 return isDefined(val) && !isDate(val) ? parseDateAndConvertTimeZoneToLocal(val) || undefined : val;
25970 }
25971
25972 function parseDateAndConvertTimeZoneToLocal(value, previousDate) {
25973 var timezone = ctrl.$options.getOption('timezone');

Callers 1

createDateInputTypeFunction · 0.70

Calls 3

isDefinedFunction · 0.70
isDateFunction · 0.70

Tested by

no test coverage detected