MCPcopy Index your code
hub / github.com/angular-ui/ui-router / parseObservedDateValue

Function parseObservedDateValue

test/angular/1.7/angular.js:26757–26759  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

26755 }
26756
26757 function parseObservedDateValue(val) {
26758 return isDefined(val) && !isDate(val) ? parseDateAndConvertTimeZoneToLocal(val) || undefined : val;
26759 }
26760
26761 function parseDateAndConvertTimeZoneToLocal(value, previousDate) {
26762 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