get_local_date() public méthode

Returns the date formatted in the localized language. To display in languages other than the server's default, you need to change the locale with {@link http://php.net/setlocale setlocale()}. The available localizations depend on which ones are installed on your web server.
Since: 1.0
public get_local_date ( string $date_format = '%c' ) : integer | string | null
$date_format string Supports any PHP date format from {@see http://php.net/strftime} (empty for the raw data)
Résultat integer | string | null
 function get_local_date($date_format = '%c')
 {
     return apply_filters('feedwordpie_item_get_local_date', parent::get_local_date($date_format), $date_format, $this);
 }
 /**
  * Pieces together the title attribute without using inline ternary conditional statements
  *
  * @access public
  * @param SimplePie_Item $item The item to generate the title attribute for.
  * @param integer $length The number of characters to return in the description.
  * @param string $date_format The format to use when displaying dates on items. Uses values from http://php.net/strftime, NOT http://php.net/date.
  * @return string The string for the title attribute.
  */
 function get_title_attr($item, $length, $date_format)
 {
     // Get a handle for the item's parent feed object for PHP 4.x.
     $parent = $item->get_feed();
     $title_attr = '';
     $title_attr .= $item->get_title();
     // The title of the post
     $title_attr .= ' :: ';
     // The separator between the title and the description (required by MooTools)
     $title_attr .= newsblocks::cleanup($item->get_description(), $length);
     // The cleaned-up and shortened version of the description
     $title_attr .= '<span>';
     // This marks the beginning of the date/domain line (and is CSS styleable)
     // Does the item have a timestamp?
     if ($item->get_local_date($date_format)) {
         $title_attr .= $item->get_local_date($date_format);
         // Use the locale-friendly version for non-English languages.
         $title_attr .= ' // ';
         // Visual separator.
     }
     $title_attr .= newsblocks::name($parent->subscribe_url());
     // The domain name that the item is coming from.
     $title_attr .= '</span>';
     // Mark the end of the date/domain line.
     return $title_attr;
 }