Author: frisco
Date: 2007-06-12 15:43:49 -0700 (Tue, 12 Jun 2007)
New Revision: 5393

Modified:
   openlaszlo/branches/legals/lps/components/base/basedatepicker.lzx
Log:
Change 20070612-laszlosystems-r by [EMAIL PROTECTED] on 2007-06-12 15:34:10 PDT
    in /Users/laszlosystems/src/svn/openlaszlo/branches/legals
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Leap year check in basedatepicker improved (years divisible by 100 are 
only leap years when divisible by 400)

New Features:

Bugs Fixed: LPP-3330

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    

Tests:



Modified: openlaszlo/branches/legals/lps/components/base/basedatepicker.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/base/basedatepicker.lzx   
2007-06-12 19:03:15 UTC (rev 5392)
+++ openlaszlo/branches/legals/lps/components/base/basedatepicker.lzx   
2007-06-12 22:43:49 UTC (rev 5393)
@@ -300,7 +300,7 @@
             var returnValue;
 
             if( month == 1 ) {
-                if( year % 4 == 0 ) {
+                if ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0) 
 {
                     returnValue = 29;
                 } else {
                     returnValue = 28;


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to