timrwood/moment — Issue #138: Moment.calendar wrong example in documentation
Author: danielepolencic
Created: 2012-01-20 17:26:51+00:00
State: open

in the documentation, the snippet for moment.calendar refers to moment.meridiem

moment.meridiem = {
lastDay : '[Yesterday at] LT',
sameDay : '[Today at] LT',
nextDay : '[Tomorrow at] LT',
lastWeek : '[last] dddd [at] LT',
nextWeek : 'dddd [at] LT',
sameElse : 'L'
};

should be

moment.calendar = {
lastDay : '[Yesterday at] LT',
sameDay : '[Today at] LT',
nextDay : '[Tomorrow at] LT',
lastWeek : '[last] dddd [at] LT',
nextWeek : 'dddd [at] LT',
sameElse : 'L'
};