+/* Converts a linkdate time (YYYYMMDD_HHMMSS) of an article to a localized date format.
+ (used to display link date on screen)
+ The date format is automatically chosen according to locale/languages sniffed from browser headers (see autoLocale()). */
+function linkdate2locale($linkdate)
+{
+ return utf8_encode(strftime('%c',linkdate2timestamp($linkdate))); // %c is for automatic date format according to locale.
+ // Note that if you use a locale which is not installed on your webserver,
+ // the date will not be displayed in the chosen locale, but probably in US notation.
+}
+