Commit 5b0ecceb authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #981 Improve the FusionDirectory API

Showing with 16 additions and 5 deletions
+16 -5
...@@ -20,14 +20,21 @@ ...@@ -20,14 +20,21 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
/*! \brief This class contains all the function needed to manage the /*!
* \file class_timezone.inc
* Source code for class timezone
*/
/*!
* \brief This class contains all the function needed to manage the
* timezones * timezones
*
*/ */
class timezone { class timezone {
/* This function returns the offset for the default timezone. /*
* $stamp is used to detect summer or winter time. * \brief This function returns the offset for the default timezone.
*
* \param $stamp is used to detect summer or winter time.
* In case of PHP5, the integrated timezone functions are used. * In case of PHP5, the integrated timezone functions are used.
*/ */
static public function get_default_timezone($stamp = NULL) static public function get_default_timezone($stamp = NULL)
...@@ -61,7 +68,11 @@ class timezone { ...@@ -61,7 +68,11 @@ class timezone {
} }
/* Return zone informations */ /*
* \brief Get the time zone informations
*
* \return Time zone informations
*/
static public function _get_tz_zones() static public function _get_tz_zones()
{ {
return DateTimeZone::listIdentifiers(); return DateTimeZone::listIdentifiers();
......
  • bmortier @bmortier

    mentioned in issue #370 (closed)

    By sabaku on 2017-09-02T14:45:08 (imported from GitLab)

    ·

    mentioned in issue #370 (closed)

    By sabaku on 2017-09-02T14:45:08 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment