[wp-trac] [WordPress Trac] #20987: Easier expression of time periods
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 7 18:52:53 UTC 2012
#20987: Easier expression of time periods
------------------------------------+------------------
Reporter: nbachiyski | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Changes (by nbachiyski):
* keywords: has-patch => has-patch dev-feedback
Comment:
Sergey, thanks for the awesome patch, it's a tremendous help.
The only change I would make to your patch is to replace {{{DAY_IN_SECONDS
/ 2}}} with {{{12 * HOUR_IN_SECONDS}}}. It just feels more natural to me
and everywhere else we refer to it as 12 hours, not half a day.
About the minutes – westi found some use for them in the WordPress.com
codebase, and I think they would do no harm.
Any objections if we just commit that?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20987#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list