use upper-case D again for date
This commit is contained in:
parent
6343cb878a
commit
237b2f2b49
@ -458,12 +458,12 @@
|
|||||||
0200 EST (UTC-05) = 0700 UTC
|
0200 EST (UTC-05) = 0700 UTC
|
||||||
0200 EDT (UTC-04) = 0600 UTC
|
0200 EDT (UTC-04) = 0600 UTC
|
||||||
*/
|
*/
|
||||||
var date, day, hours, month, sunday;
|
var D, date, day, hours, month, sunday;
|
||||||
d = new Date();
|
D = new Date();
|
||||||
date = d.getUTCDate();
|
date = D.getUTCDate();
|
||||||
day = d.getUTCDay();
|
day = D.getUTCDay();
|
||||||
hours = d.getUTCHours();
|
hours = D.getUTCHours();
|
||||||
month = d.getUTCMonth();
|
month = D.getUTCMonth();
|
||||||
if (month < 2 || 10 < month) return false;
|
if (month < 2 || 10 < month) return false;
|
||||||
if ((2 < month && month < 10)) return true;
|
if ((2 < month && month < 10)) return true;
|
||||||
sunday = date - day;
|
sunday = date - day;
|
||||||
|
|||||||
@ -371,11 +371,11 @@ $.extend $,
|
|||||||
0200 EDT (UTC-04) = 0600 UTC
|
0200 EDT (UTC-04) = 0600 UTC
|
||||||
###
|
###
|
||||||
|
|
||||||
d = new Date()
|
D = new Date()
|
||||||
date = d.getUTCDate()
|
date = D.getUTCDate()
|
||||||
day = d.getUTCDay()
|
day = D.getUTCDay()
|
||||||
hours = d.getUTCHours()
|
hours = D.getUTCHours()
|
||||||
month = d.getUTCMonth()
|
month = D.getUTCMonth()
|
||||||
|
|
||||||
#this is the easy part
|
#this is the easy part
|
||||||
if month < 2 or 10 < month
|
if month < 2 or 10 < month
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user