You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/10/29 08:50:37 UTC

[GitHub] asfgit closed pull request #55: Date chooser no year check

asfgit closed pull request #55: Date chooser no year check
URL: https://github.com/apache/royale-asjs/pull/55
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DateChooserModel.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DateChooserModel.as
index ab3e91943..554593cf6 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DateChooserModel.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/DateChooserModel.as
@@ -278,7 +278,7 @@ package org.apache.royale.html.beads.models
             for(var i:int=0; i < _days.length; i++) {
                 var test:Date = _days[i] as Date;
                 if (test != null) {
-                    if (test.getMonth() == d.getMonth() && test.getDate() == d.getDate() && test.getFullYear())
+                    if (test.getMonth() == d.getMonth() && test.getDate() == d.getDate())
                         return i;
 			    }
             }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services