[wp-trac] [WordPress Trac] #9272: Expand human_time_diff()'s abilities
WordPress Trac
noreply at wordpress.org
Fri Nov 16 14:22:27 UTC 2012
#9272: Expand human_time_diff()'s abilities
-------------------------------------------------+-------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Viper007Bond
Priority: normal | Status: new
Component: Date/Time | Milestone: Future
Severity: normal | Release
Keywords: has-patch needs-testing rtl- | Version: 2.8
feedback | Resolution:
-------------------------------------------------+-------------------------
Comment (by westi):
Replying to [comment:39 nacin]:
> Just leaving a note here: From an i18n perspective, "X ago" and "X old"
will require two different translations for X in a number of languages.
Agreed
Replying to [comment:39 nacin]:
> Perhaps we can start by making human_time_diff() operate on more than
just "days" -- expanding to weeks, and months, years perhaps.
This came up again for years and so I put a quick patch together for them
:)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9272#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list