Sha256: 567fb9d151f54de84c598da6af64b282dfe52671bfcf6d374b4d3827d4188da7
Contents?: true
Size: 380 Bytes
Versions: 19
Compression:
Stored size: 380 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' }; export function calendar (key, mom, now) { var output = this._calendar[key]; return typeof output === 'function' ? output.call(mom, now) : output; }
Version data entries
19 entries across 19 versions & 4 rubygems