Sha256: 0ea60bdceb58259d0e288e9539a7adcdd22b10a5a0acd08ae0ce5790492c4170
Contents?: true
Size: 442 Bytes
Versions: 19
Compression:
Stored size: 442 Bytes
Contents
export var defaultCalendar = { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }; import isFunction from '../utils/is-function'; export function calendar(key, mom, now) { var output = this._calendar[key] || this._calendar['sameElse']; return isFunction(output) ? output.call(mom, now) : output; }
Version data entries
19 entries across 19 versions & 1 rubygems