CINXE.COM
#22916 (Date/time format translations for front-end) – WordPress Trac
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://core.trac.wordpress.org/ticket/22916","20130114235609","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1358207769"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <title> #22916 (Date/time format translations for front-end) – WordPress Trac </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <!--[if IE]><script type="text/javascript"> if (/^#__msie303:/.test(window.location.hash)) window.location.replace(window.location.hash.replace(/^#__msie303:/, '#')); </script><![endif]--> <link rel="search" href="/web/20130114235609/http://core.trac.wordpress.org/search"/> <link rel="prev" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22915" title="Ticket #22915"/> <link rel="last" href="/ticket/23200" title="Ticket #23200"/> <link rel="help" href="/wiki/TracGuide"/> <link rel="alternate" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=csv" type="text/csv" class="csv" title="Comma-delimited Text"/><link rel="alternate" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=tab" type="text/tab-separated-values" class="tab" title="Tab-delimited Text"/><link rel="alternate" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=rss" type="application/rss+xml" class="rss" title="RSS Feed"/> <link rel="next" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22917" title="Ticket #22917"/> <link rel="start" href="/wiki"/> <link rel="stylesheet" href="/web/20130114235609cs_/http://core.trac.wordpress.org/chrome/common/css/trac.css" type="text/css"/><link rel="stylesheet" href="/web/20130114235609cs_/http://core.trac.wordpress.org/chrome/common/css/ticket.css" type="text/css"/> <link rel="first" href="/ticket/1" title="Ticket #1"/> <link rel="shortcut icon" href="/web/20130114235609im_/http://core.trac.wordpress.org/chrome/common/trac.ico" type="image/x-icon"/> <link rel="icon" href="/web/20130114235609im_/http://core.trac.wordpress.org/chrome/common/trac.ico" type="image/x-icon"/> <link type="application/opensearchdescription+xml" rel="search" href="/web/20130114235609/http://core.trac.wordpress.org/search/opensearch" title="Search WordPress Trac"/> <script type="text/javascript"> var auto_preview_timeout=2.0; var form_token="10dd2f7837ee4721ced24a80"; </script> <script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/jquery.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/babel.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/trac.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/search.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/folding.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/wikitoolbar.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/resizer.js"></script><script type="text/javascript" src="/web/20130114235609js_/http://core.trac.wordpress.org/chrome/common/js/auto_preview.js"></script> <!--[if lt IE 7]> <script type="text/javascript" src="/chrome/common/js/ie_pre7_hacks.js"></script> <![endif]--> <script type="text/javascript"> jQuery(document).ready(function($) { $("div.description").find("h1,h2,h3,h4,h5,h6").addAnchor(_("Link to this section")); $(".foldable").enableFolding(false, true); var args = {realm: "ticket", id: 22916, escape_newlines: 0} $("#comment").autoPreview("/wiki_render", args, function(textarea, text, rendered) { $("#ticketchange div.comment").html(rendered); if (rendered) $("#ticketchange").show(); else if ($("#ticketchange ul.changes").length == 0) $("#ticketchange").hide(); }); $("#trac-comment-editor textarea").autoPreview("/wiki_render", args, function(textarea, text, rendered) { var comment = $("#trac-comment-editor").next("div.comment"); comment.html(rendered); if (rendered) comment.show(); else comment.hide(); }); $("#modify").parent().toggleClass("collapsed"); $(".trac-topnav a").click(function() { $("#modify").parent().removeClass("collapsed"); }); /* only enable control elements for the currently selected action */ var actions = $("#action input[name='action']"); function updateActionFields() { actions.each(function () { $(this).siblings().find("*[id]").enable($(this).checked()); $(this).siblings().filter("*[id]").enable($(this).checked()); }); } actions.click(updateActionFields); updateActionFields(); }); </script> <meta name="viewport" content="width=device-width"/> <link rel="stylesheet" type="text/css" href="//web.archive.org/web/20130114235609cs_/http://wordpress.org/style/trac/wp-trac.css?2"/> <script src="//web.archive.org/web/20130114235609js_/http://openatd.svn.wordpress.org/atd-jquery/scripts/jquery.atd.textarea.js"></script> <script src="//web.archive.org/web/20130114235609js_/http://openatd.svn.wordpress.org/atd-jquery/scripts/csshttprequest.js"></script> <link rel="stylesheet" type="text/css" href="//web.archive.org/web/20130114235609cs_/http://openatd.svn.wordpress.org/atd-jquery/css/atd.css" media="screen"/> </head> <body class="core"> <div id="siteheader"> </div> <div id="banner"> <div id="header"> <a id="logo" href="https://web.archive.org/web/20130114235609/http://wordpress.org/"><img src="/web/20130114235609im_/http://core.trac.wordpress.org/chrome/site/trac-logo.png" alt="WordPress.org" height="80" width="345"/></a> </div> <form id="search" action="/web/20130114235609/http://core.trac.wordpress.org/search" method="get"> <div> <label for="proj-search">Search:</label> <input type="text" id="proj-search" name="q" size="18" value=""/> <input type="submit" value="Search"/> </div> </form> <div id="metanav" class="nav"> <ul> <li class="first"><a href="/web/20130114235609/http://core.trac.wordpress.org/login">Login</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/prefs">Preferences</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/wiki/TracGuide">Help/Guide</a></li><li class="last"><a href="/web/20130114235609/http://core.trac.wordpress.org/about">About Trac</a></li> </ul> </div> </div> <div id="mainnav" class="nav"> <ul> <li class="first"><a href="/web/20130114235609/http://core.trac.wordpress.org/wiki">Wiki</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/timeline">Timeline</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/roadmap">Roadmap</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/browser">Browse Source</a></li><li class="active"><a href="/web/20130114235609/http://core.trac.wordpress.org/report">View Tickets</a></li><li><a href="/web/20130114235609/http://core.trac.wordpress.org/search">Search</a></li><li class="last"><a href="/web/20130114235609/http://core.trac.wordpress.org/ticketgraph">Ticket Graph</a></li> </ul> </div> <div id="main"> <div id="ctxtnav" class="nav"> <h2>Context Navigation</h2> <ul> <li class="first"><span>← <a class="prev" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22915" title="Ticket #22915">Previous Ticket</a></span></li><li class="last"><span><a class="next" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22917" title="Ticket #22917">Next Ticket</a> →</span></li> </ul> <hr/> </div> <div id="content" class="ticket"> <h1 id="trac-ticket-title"> <a href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916">Ticket #22916</a> <span class="status">(assigned enhancement)</span> </h1> <div id="ticket"> <div class="date"> <p>Opened <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2012-12-13T14%3A51%3A25Z&precision=second" title="2012-12-13T14:51:25Z in Timeline">5 weeks</a> ago</p> <p>Last modified <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2013-01-10T15%3A42%3A32Z&precision=second" title="2013-01-10T15:42:32Z in Timeline">4 days</a> ago</p> </div> <h2 class="summary searchable">Date/time format translations for front-end</h2> <table class="properties"> <tr> <th id="h_reporter">Reported by:</th> <td headers="h_reporter" class="searchable"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/npetetin"> <img class="avatar" src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=npetetin" height="24" width="24"/> </a> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&reporter=npetetin">npetetin</a> </td> <th id="h_owner">Owned by:</th> <td headers="h_owner"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/nacin"> <img class="avatar" src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=nacin" height="24" width="24"/> </a> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&owner=nacin">nacin</a> </td> </tr> <tr> <th id="h_priority"> Priority: </th> <td headers="h_priority"> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&priority=normal">normal</a> </td> <th id="h_milestone"> Milestone: </th> <td headers="h_milestone"> <a class="milestone" href="/web/20130114235609/http://core.trac.wordpress.org/milestone/3.6">3.6</a> </td> </tr><tr> <th id="h_component"> Component: </th> <td headers="h_component"> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&component=I18N">I18N</a> </td> <th id="h_version"> Version: </th> <td headers="h_version"> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&version=3.5">3.5</a> </td> </tr><tr> <th id="h_severity"> Severity: </th> <td headers="h_severity"> <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&severity=normal">normal</a> </td> <th id="h_keywords"> Keywords: </th> <td headers="h_keywords" class="searchable"> </td> </tr><tr> <th id="h_cc"> Cc: </th> <td headers="h_cc" class="searchable"> info@…, ADAMSILVERSTEIN@…, <a href="/web/20130114235609/http://core.trac.wordpress.org/query?status=!closed&cc=~sabreuse">sabreuse</a>, knut@… </td> <th> </th> <td> </td> </tr> </table> <div class="description"> <h3 id="comment:description"> Description </h3> <div class="searchable"> <p> Hi. </p> <p> Since the split of mo/po files between admin and front-end contexts, some resources that were useful for the front-end are now available only for admin. One of them is the date/time format: it's really great it's localized in the reading options panel, but the main purpose of the option remains the front-end and the way the dates and times are displayed, so we need the "translations" in the front-end po/mo files. </p> <p> So the request is to switch the following strings from admin to general text domain: </p> <ul><li>F j, Y </li><li>g:i a </li><li>F j, Y g:i a </li></ul><p> Thanks. </p> </div> </div> </div> <div> <h2 class="foldable">Change History</h2> <div id="changelog"> <div class="change" id="trac-change-1"> <div class="change"> <h3 class="change" id="comment:1"> <span class="threading"> <span id="comment:1" class="cnum"> <a href="#comment:1">comment:1</a> </span> </span> <span class="avatar"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/toscho"> <img src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=toscho" height="24" width="24"/> toscho</a> — <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2012-12-13T15%3A04%3A30Z&precision=second" title="2012-12-13T15:04:30Z in Timeline">5 weeks</a> ago </span> </h3> </div> <ul class="changes"> <li> <strong>Cc</strong> <em>info@…</em> added </li> </ul> <div class="comment searchable"> </div> </div> <div class="change" id="trac-change-2"> <div class="change"> <h3 class="change" id="comment:2"> <span class="threading"> <span id="comment:2" class="cnum"> <a href="#comment:2">comment:2</a> </span> </span> <span class="avatar"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/nacin"> <img src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=nacin" height="24" width="24"/> nacin</a> — <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2012-12-18T06%3A04%3A22Z&precision=second" title="2012-12-18T06:04:22Z in Timeline">4 weeks</a> ago </span> </h3> </div> <ul class="changes"> <li> <strong>Owner</strong> set to <em>nacin</em> </li><li> <strong>Status</strong> changed from <em>new</em> to <em>assigned</em> </li><li> <strong>Milestone</strong> changed from <em>Awaiting Review</em> to <em>3.6</em> </li> </ul> <div class="comment searchable"> </div> </div> <div class="change" id="trac-change-3"> <div class="change"> <h3 class="change" id="comment:3"> <span class="threading"> <span id="comment:3" class="cnum"> <a href="#comment:3">comment:3</a> </span> </span> <span class="avatar"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/adamsilverstein"> <img src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=adamsilverstein" height="24" width="24"/> adamsilverstein</a> — <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2013-01-05T16%3A52%3A13Z&precision=second" title="2013-01-05T16:52:13Z in Timeline">9 days</a> ago </span> </h3> </div> <ul class="changes"> <li> <strong>Cc</strong> <em>ADAMSILVERSTEIN@…</em> added </li> </ul> <div class="comment searchable"> </div> </div> <div class="change" id="trac-change-4"> <div class="change"> <h3 class="change" id="comment:4"> <span class="threading"> <span id="comment:4" class="cnum"> <a href="#comment:4">comment:4</a> </span> </span> <span class="avatar"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/sabreuse"> <img src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=sabreuse" height="24" width="24"/> sabreuse</a> — <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2013-01-10T15%3A27%3A30Z&precision=second" title="2013-01-10T15:27:30Z in Timeline">4 days</a> ago </span> </h3> </div> <ul class="changes"> <li> <strong>Cc</strong> <em>sabreuse</em> added </li> </ul> <div class="comment searchable"> </div> </div> <div class="change" id="trac-change-5"> <div class="change"> <h3 class="change" id="comment:5"> <span class="threading"> <span id="comment:5" class="cnum"> <a href="#comment:5">comment:5</a> </span> </span> <span class="avatar"> <a href="https://web.archive.org/web/20130114235609/http://profiles.wordpress.org/knutsp"> <img src="//web.archive.org/web/20130114235609im_/http://wordpress.org/grav-redirect.php?user=knutsp" height="24" width="24"/> knutsp</a> — <a class="timeline" href="/web/20130114235609/http://core.trac.wordpress.org/timeline?from=2013-01-10T15%3A42%3A32Z&precision=second" title="2013-01-10T15:42:32Z in Timeline">4 days</a> ago </span> </h3> </div> <ul class="changes"> <li> <strong>Cc</strong> <em>knut@…</em> added </li> </ul> <div class="comment searchable"> </div> </div> </div> </div> <div id="help"><strong>Note:</strong> See <a href="/web/20130114235609/http://core.trac.wordpress.org/wiki/TracTickets">TracTickets</a> for help on using tickets.</div> </div> <div id="altlinks"> <h3>Download in other formats:</h3> <ul> <li class="first"> <a rel="nofollow" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=csv" class="csv">Comma-delimited Text</a> </li><li> <a rel="nofollow" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=tab" class="tab">Tab-delimited Text</a> </li><li class="last"> <a rel="nofollow" href="/web/20130114235609/http://core.trac.wordpress.org/ticket/22916?format=rss" class="rss">RSS Feed</a> </li> </ul> </div> </div> <div id="footer" lang="en" xml:lang="en"><hr/> <a id="tracpowered" href="https://web.archive.org/web/20130114235609/http://trac.edgewall.org/"><img src="/web/20130114235609im_/http://core.trac.wordpress.org/chrome/common/trac_logo_mini.png" height="30" width="107" alt="Trac Powered"/></a> <p class="left">Powered by <a href="/web/20130114235609/http://core.trac.wordpress.org/about"><strong>Trac 0.12.4</strong></a><br/> By <a href="https://web.archive.org/web/20130114235609/http://www.edgewall.org/">Edgewall Software</a>.</p> <p class="right">A <a href="https://web.archive.org/web/20130114235609/http://wordpress.org/">WordPress</a> Project</p> </div> <div id="sitefooter"> </div> <script src="//web.archive.org/web/20130114235609js_/http://wordpress.org/js/trac/wp-trac.js?1"></script> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://web.archive.org/web/20130114235609/https://ssl." : "https://web.archive.org/web/20130114235609/http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-52447-27"); pageTracker._trackPageview(); } catch(err) {}</script> </body> </html><!-- FILE ARCHIVED ON 23:56:09 Jan 14, 2013 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 16:57:43 Feb 27, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 1.297 exclusion.robots: 0.04 exclusion.robots.policy: 0.03 esindex: 0.043 cdx.remote: 56.83 LoadShardBlock: 942.631 (3) PetaboxLoader3.datanode: 546.552 (4) PetaboxLoader3.resolve: 590.823 (3) load_resource: 321.112 -->