Lines Matching refs:mom

1339 function oldMomentFormat(mom, formatStr) {
1340 return oldMomentProto.format.call(mom, formatStr); // oldMomentProto defined in moment-ext.js
1355 var mom = makeMoment(arguments, true);
1358 if (mom.hasTime()) { // don't give ambiguously-timed moments a UTC zone
1359 mom.utc();
1361 return mom;
1381 var mom;
1383 mom = moment.apply(null, args);
1407 mom = moment.utc.apply(moment, args);
1410 mom = moment.apply(null, args);
1413 mom._ambigTime = true;
1414 mom._ambigZone = true; // ambiguous time always means ambiguous zone
1418 mom._ambigZone = true;
1421 mom.utcOffset(input); // if not a valid zone, will assign UTC
1425 mom._fullCalendar = true; // flag for extended functionality
1426 return mom;
4853 function englishMoment(mom) {
4854 if (mom.locale() !== 'en') {
4855 return mom.clone().locale('en');
4857 return mom;
11210 var mom;
11212 mom = moment_ext_1.default.apply(null, args);
11214 if (mom.hasTime()) { // don't give ambiguously-timed moments a local zone
11215 mom.local();
11219 mom = moment_ext_1.default.utc.apply(null, args); // process as UTC
11222 mom = moment_ext_1.default.parseZone.apply(null, args); // let the input decide the zone
11224 this.localizeMoment(mom); // TODO
11225 return mom;
11228 var mom = moment_ext_1.default.utc(ms); // TODO: optimize by using Date.UTC
11230 mom.stripTime();
11233 mom = this.applyTimezone(mom); // may or may not apply locale
11235 this.localizeMoment(mom);
11236 return mom;
11239 var mom = moment_ext_1.default.utc(ms); // TODO: optimize by using Date.UTC
11241 mom.stripTime();
11243 this.localizeMoment(mom);
11244 return mom;
11247 Calendar.prototype.localizeMoment = function (mom) {
11248 mom._locale = this.localeData;