Skip to content

Commit

Permalink
date_sunrise and date_sunset constants are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Oct 16, 2024
1 parent ad40da6 commit 59f7237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions date/date_d.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,21 @@
/**
* Timestamp
* @link https://php.net/manual/en/datetime.constants.php
* @deprecated 8.4
*/
define('SUNFUNCS_RET_TIMESTAMP', 0);

/**
* Hours:minutes (example: 08:02)
* @link https://php.net/manual/en/datetime.constants.php
* @deprecated 8.4
*/
define('SUNFUNCS_RET_STRING', 1);

/**
* Hours as floating point number (example 8.75)
* @link https://php.net/manual/en/datetime.constants.php
* @deprecated 8.4
*/
define('SUNFUNCS_RET_DOUBLE', 2);

Expand Down

0 comments on commit 59f7237

Please sign in to comment.