[wp-trac] [WordPress Trac] #20987: Easier expression of time periods

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 25 05:26:21 UTC 2012


#20987: Easier expression of time periods
------------------------------------+---------------------
 Reporter:  nbachiyski              |       Owner:  nacin
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  3.5
Component:  General                 |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21996]:
 {{{
 #!CommitTicketReference repository="" revision="21996"
 Introduce constants to allow for easier expression of time periods in
 seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS,
 WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes
 #20987.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20987#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list