git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix vardemo
[plcapi.git]
/
src
/
Helper
/
Date.php
diff --git
a/src/Helper/Date.php
b/src/Helper/Date.php
index
c52223a
..
bc60cc4
100644
(file)
--- a/
src/Helper/Date.php
+++ b/
src/Helper/Date.php
@@
-26,8
+26,7
@@
class Date
$t = strftime("%Y%m%dT%H:%M:%S", $timet);
} else {
if (function_exists('gmstrftime')) {
$t = strftime("%Y%m%dT%H:%M:%S", $timet);
} else {
if (function_exists('gmstrftime')) {
- // gmstrftime doesn't exist in some versions
- // of PHP
+ // gmstrftime doesn't exist in some versions of PHP
$t = gmstrftime("%Y%m%dT%H:%M:%S", $timet);
} else {
$t = strftime("%Y%m%dT%H:%M:%S", $timet - date('Z'));
$t = gmstrftime("%Y%m%dT%H:%M:%S", $timet);
} else {
$t = strftime("%Y%m%dT%H:%M:%S", $timet - date('Z'));