summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-07 10:13:06 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-07 10:13:06 +0200
commit3bde7c2f67e1791bf9de5d4c10f2b1825b726536 (patch)
tree517b2bb400947dd4c877d844edfda7d962cef150 /lib/public
parente16d61e293b26be1ba3b1a7b803f20f00481bde8 (diff)
downloadnextcloud-server-3bde7c2f67e1791bf9de5d4c10f2b1825b726536.tar.gz
nextcloud-server-3bde7c2f67e1791bf9de5d4c10f2b1825b726536.zip
When guessing the timezone, the offset might only be valid on a given timestamp
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/idatetimezone.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/idatetimezone.php b/lib/public/idatetimezone.php
index 30fbde15ac8..eb74074aa46 100644
--- a/lib/public/idatetimezone.php
+++ b/lib/public/idatetimezone.php
@@ -25,7 +25,8 @@ namespace OCP;
interface IDateTimeZone {
/**
+ * @param bool|int $timestamp
* @return \DateTimeZone
*/
- public function getTimeZone();
+ public function getTimeZone($timestamp = false);
}