You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/12/31 22:59:04 UTC
svn commit: r1427247 -
/ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl
Author: jleroux
Date: Mon Dec 31 21:59:04 2012
New Revision: 1427247
URL: http://svn.apache.org/viewvc?rev=1427247&view=rev
Log:
Server hour on webtools jobs list: no functional changes, just a trivial refactoring of ServerHour24HourFormatJs.ftl
Modified:
ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl
Modified: ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl?rev=1427247&r1=1427246&r2=1427247&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/ServerHour24HourFormatJs.ftl Mon Dec 31 21:59:04 2012
@@ -25,11 +25,10 @@ jQuery(document).ready(function() {
if (jQuery("#${clockField}").text() === "${uiLabelMap.CommonServerHour}:") {
serverTimestamp = getServerTimestamp("getServerTimestamp");
date = new Date(serverTimestamp);
- jQuery("#${clockField}").text("${uiLabelMap.CommonServerHour}: " + dateFormat(date, "yyyy-mm-dd HH:MM:ss"));
} else {
date.setSeconds(date.getSeconds() + 1);
- jQuery("#${clockField}").text("${uiLabelMap.CommonServerHour}: " + dateFormat(date, "yyyy-mm-dd HH:MM:ss"));
}
+ jQuery("#${clockField}").text("${uiLabelMap.CommonServerHour}: " + dateFormat(date, "yyyy-mm-dd HH:MM:ss"));
}
})
</script>
\ No newline at end of file