2011-06-21, 05:41:23
(from another thread)
No constant for this in gsconfig... Do you mean the admin/lang $i18n["DATE_FORMAT"] ?
If so, I thought that was intended for the backend. I chose 'M jS, Y' as a default because that's what old GetSimple default theme used for get_page_date() (though I now see each theme choses its own format...)
Anyway I'll add a parameter to some of this plugin's functions so that you can specify your custom date format -- that way you'll be able to display several feeds with different formats.
Heh, that was a "duro"! I still may have one of those... :-)
Thanks for your comments.
Connie Wrote:Carlos Wrote:A quick tip to avoid dates in English: edit getfeed.php and replace:wouldn't it be better that the plugin reads the general configuration language constante from gsconfig.php?
by e.g.:Code:define('GETFEED_DATE_FORMAT', 'M jS, Y'); // default date format
Code:define('GETFEED_DATE_FORMAT', 'd.m.Y');
Dates will then be in DD.MM.YYYY format.
No constant for this in gsconfig... Do you mean the admin/lang $i18n["DATE_FORMAT"] ?
If so, I thought that was intended for the backend. I chose 'M jS, Y' as a default because that's what old GetSimple default theme used for get_page_date() (though I now see each theme choses its own format...)
Anyway I'll add a parameter to some of this plugin's functions so that you can specify your custom date format -- that way you'll be able to display several feeds with different formats.
Connie Wrote:just my 5 pesetas
Heh, that was a "duro"! I still may have one of those... :-)
Thanks for your comments.