Committer: dpetrov
LJSUP-12126: Port choose date widget from the old update.bml pageU trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js
Modified: trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js =================================================================== --- trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2012-05-23 10:56:05 UTC (rev 11996) +++ trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2012-05-23 14:04:07 UTC (rev 11997) @@ -62,7 +62,7 @@ //allow user to switch months between these dates startMonth: new Date( 1900, 0, 1 ), endMonth: new Date( 2050, 0, 1 ), - startAtSunday: false, + startAtSunday: !(LiveJournal.getLocalizedStr('date.format.offset') !== '0') || false, dateFormat: "%Y-%M-%D", defaultTitle: "Calendar",