Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: Use date_format plugin to display date into RFC-822 (RSS)
philippecd

Replies: 4
Views: 11016

PostForum: Tips and Tricks   Posted: Fri Aug 27, 2010 12:45 pm   Subject: Use date_format plugin to display date into RFC-822 (RSS)
I found the solution Smile

{$date|date_format:"%a, %d %b %Y %H:%M:%S %z"}

Philippe
  Topic: Use date_format plugin to display date into RFC-822 (RSS)
philippecd

Replies: 4
Views: 11016

PostForum: Tips and Tricks   Posted: Tue Aug 24, 2010 1:38 pm   Subject: Use date_format plugin to display date into RFC-822 (RSS)
In french ... and translation seems to be false for some params.

Example for %b:
=> In english: abbreviated month name according to the current locale
=> In french: it speek about the abb ...
  Topic: Use date_format plugin to display date into RFC-822 (RSS)
philippecd

Replies: 4
Views: 11016

PostForum: Tips and Tricks   Posted: Tue Aug 24, 2010 1:02 pm   Subject: Use date_format plugin to display date into RFC-822 (RSS)
Hello

I want to use date_format plugin into an RSS template.
But, i can't find the correct Parameter.

Correct format: Tue, 24 Aug 2010 00:00:00 +0000

Someone has already make that? What's th ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP