Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#355894 by Darren Oh: Updated for Drupal 6.
A time zone identifier should be inserted after the lattitude and longitude in sabbath_time() and sabbath_now(). It is no longer necessary to call date_default_timezone_set() before calling these functions.