[wp-trac] [WordPress Trac] #33397: Add constant MONTH_IN_SECONDS

WordPress Trac noreply at wordpress.org
Thu Aug 20 19:31:30 UTC 2015


#33397: Add constant MONTH_IN_SECONDS
-------------------------------------------------+-------------------------
 Reporter:  toscho                               |       Owner:  egill
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
Component:  General                              |  Review
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch needs-docs  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by egill):

 Something like this?
 {{{
 /**
  * Constants for expressing human-readable intervals
  * in their respective number of seconds.
  *
  * Please note that the values are not accurate and provided
  * for convenience, especially MONTH_IN_SECONDS!
  *
  * If you need more accuracy please consider using the DateTime class
 (http://php.net/manual/class.datetime.php).
  */
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33397#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list