(input, format, locale, strict, isUTC)
| 2963 | } |
| 2964 | |
| 2965 | function createLocalOrUTC (input, format, locale, strict, isUTC) { |
| 2966 | var c = {}; |
| 2967 | |
| 2968 | if (typeof(locale) === 'boolean') { |
| 2969 | strict = locale; |
| 2970 | locale = undefined; |
| 2971 | } |
| 2972 | // object construction must be done this way. |
| 2973 | // https://github.com/moment/moment/issues/1423 |
| 2974 | c._isAMomentObject = true; |
| 2975 | c._useUTC = c._isUTC = isUTC; |
| 2976 | c._l = locale; |
| 2977 | c._i = input; |
| 2978 | c._f = format; |
| 2979 | c._strict = strict; |
| 2980 | |
| 2981 | return createFromConfig(c); |
| 2982 | } |
| 2983 | |
| 2984 | function local__createLocal (input, format, locale, strict) { |
| 2985 | return createLocalOrUTC(input, format, locale, strict, false); |
no test coverage detected