Changeset 6359
- Timestamp:
- 01/11/2018 11:43:59 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r6350 r6359 67 67 ), 68 68 'l10n' => array( 69 'locale' => str_replace( '_', '-', get_locale() ), 69 70 'search' => __( 'Search Themes', 'wporg-themes' ), 70 71 'searchPlaceholder' => __( 'Search themes...', 'wporg-themes' ), // placeholder (no ellipsis) -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js
r6324 r6359 489 489 490 490 // Format the Last Updated date, prefering 491 data.last_updated = updated.toLocaleDateString( false, {day:"numeric", month:"long", year:"numeric"} ); 491 data.last_updated = updated.toLocaleDateString( l10n.locale, { 492 day: 'numeric', 493 month: 'long', 494 year: 'numeric', 495 } ); 492 496 493 497 // If last updated plus 2 years is in the past, it's outdated.
Note: See TracChangeset
for help on using the changeset viewer.