From: Mike Frysinger Date: Sun, 19 May 2013 07:19:55 +0000 (-0400) Subject: document the date format string X-Git-Tag: 1.8~88^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5bac322258e0d02b7209b42baa68c86786f751cb;p=tt-rss.git document the date format string I assumed the format string was related to strftime except all of the fields looked really weird. After digging in the code, this string is actually used with php's date(). Add a note for this so other people can jump quickly to the relevant documentation (which is useful for non-php peeps who have no idea what this is). --- diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 425d4b0a..dd62a427 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -40,7 +40,7 @@ class Pref_Prefs extends Handler_Protected { "FRESH_ARTICLE_MAX_AGE" => array(__("Maximum age of fresh articles (in hours)"), ""), "HIDE_READ_FEEDS" => array(__("Hide feeds with no unread articles"), ""), "HIDE_READ_SHOWS_SPECIAL" => array(__("Show special feeds when hiding read feeds"), ""), - "LONG_DATE_FORMAT" => array(__("Long date format"), ""), + "LONG_DATE_FORMAT" => array(__("Long date format"), __("Follows php's date() function")), "ON_CATCHUP_SHOW_NEXT_FEED" => array(__("On catchup show next feed"), __("Automatically open next feed with unread articles after marking one as read")), "PURGE_OLD_DAYS" => array(__("Purge articles after this number of days (0 - disables)"), ""), "PURGE_UNREAD_ARTICLES" => array(__("Purge unread articles"), ""),