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

WordPress Trac noreply at wordpress.org
Fri Aug 21 18:15:54 UTC 2015


#33397: Add constant MONTH_IN_SECONDS
-------------------------------------------------+---------------------
 Reporter:  toscho                               |       Owner:  egill
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch needs-docs  |     Focuses:
-------------------------------------------------+---------------------
Changes (by jorbin):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33698"]:
 {{{
 #!CommitTicketReference repository="" revision="33698"
 Add new constant MONTH_IN_SECONDS and expand time convenience
 documentation.

 The "month" isn't really a month.  It's a WordPress Month. As the docs
 make clear, it's not about accuracy as much as it about convenience.  This
 adds a missing step in the time convenience constants.

 Props egill
 Fixes #33397
 }}}

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


More information about the wp-trac mailing list