can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r11997: LJSUP-12126: Port choose date widget fro...

Committer: dpetrov
LJSUP-12126: Port choose date widget from the old update.bml page
U   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",
 

Tags: can3p, dpetrov, js, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments