]> git.wh0rd.org - tt-rss.git/commitdiff
document the date format string
authorMike Frysinger <vapier@gentoo.org>
Sun, 19 May 2013 07:19:55 +0000 (03:19 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 19 May 2013 07:19:55 +0000 (03:19 -0400)
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).

classes/pref/prefs.php

index 425d4b0ac09ab1d1284ef4d244f40106fb8eceeb..dd62a4271b5ff1639079c8bd8b3c437726bba612 100644 (file)
@@ -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 <a href='http://php.net/manual/function.date.php'>date() function</a>")),
                        "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"), ""),