vendor/assets/javascripts/moment/src/lib/locale/set.js in binnacle-0.4.9 vs vendor/assets/javascripts/moment/src/lib/locale/set.js in binnacle-0.5.0
- old
+ new
@@ -16,10 +16,10 @@
this._config = config;
// Lenient ordinal parsing accepts just a number in addition to
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
// TODO: Remove "ordinalParse" fallback in next major release.
this._dayOfMonthOrdinalParseLenient = new RegExp(
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
+ (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
'|' + (/\d{1,2}/).source);
}
export function mergeConfigs(parentConfig, childConfig) {
var res = extend({}, parentConfig), prop;