summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php
index 06d556bd..6434bda4 100644
--- a/frontends/php/include/classes.inc.php
+++ b/frontends/php/include/classes.inc.php
@@ -151,10 +151,9 @@
function setSTime($stime)
{
- if($stime>20000000 && $stime<22000000)
+ if($stime>200000000000 && $stime<220000000000)
{
- $this->stime=mktime(9,0,0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4));
- $this->period=9*3600;
+ $this->stime=mktime(substr($stime,8,2),substr($stime,10,2),0,substr($stime,4,2),substr($stime,6,2),substr($stime,0,4));
}
}