Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Aug 23, 2016
1 parent 0afea0d commit 9b7adbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ echo $time->sunday; // 2013-02-03T00:00:00+0100
echo $time->timestamp; // 1359921825

echo $time->zone; // Europe/Paris
echo $time->zone->is_utc; // false
echo $time->zone->is_local; // true
echo $time->zone->offset; // 3600
echo $time->zone->location; // FR,48.86667,2.33333
echo $time->zone->location->latitude; // 48.86667
Expand Down
2 changes: 2 additions & 0 deletions lib/TimeZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* echo $zone->offset; // 3600
* echo $zone->location; // FR,48.86667,2.33333
* echo $zone->location->latitude; // 48.86667
* echo $zone->is_utc; // false
* echo $zone->is_local; // true
* </pre>
*
* @property-read TimeZoneLocation $location Location information for the timezone.
Expand Down

0 comments on commit 9b7adbf

Please sign in to comment.