1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Bugtracker #3575, #3891 - reduce JS warnings, reduce no of cookies generated, recalc tzOffset cookie every time

This commit is contained in:
e107steved
2007-07-17 20:28:20 +00:00
parent 529fc0c203
commit af0483c32b
2 changed files with 16 additions and 16 deletions

View File

@@ -3,7 +3,8 @@
function tick(e107_datepref,e107_dateformat,e107_datesuff1,e107_datesuff2,e107_datesuff3,e107_datesuff4) {
if(e107_datepref=='undefined'){e107_datepref = '';}
var hours, minutes, seconds, ap;
var intHours, intMinutes, intSeconds; var today;
var intHours, intMinutes, intSeconds, today;
var intDay, intDate, intMonth, intYear, timeString;
today = new Date();
intDay = today.getDay();
intDate = today.getDate();