Author: tyrell Date: Sun Jul 20 22:02:09 2008 New Revision: 19707 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19707
Log: Changing current hour check, when displaying the greeting. Modified: trunk/mashup/java/modules/www/js/utils.js Modified: trunk/mashup/java/modules/www/js/utils.js URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/www/js/utils.js?rev=19707&r1=19706&r2=19707&view=diff ============================================================================== --- trunk/mashup/java/modules/www/js/utils.js (original) +++ trunk/mashup/java/modules/www/js/utils.js Sun Jul 20 22:02:09 2008 @@ -210,9 +210,9 @@ var datetoday = new Date(); var thehour = datetoday.getHours(); - if (thehour > 18) { + if (thehour > 17) { display = "evening"; - } else if (thehour > 12) { + } else if (thehour > 11) { display = "afternoon"; } else { display = "morning"; _______________________________________________ Mashup-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
