<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=3888&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Smarty-Modifier date_format für DateInterval-Objekte?]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=3888</link>
		<description><![CDATA[Die aktuellsten Beiträge in Smarty-Modifier date_format für DateInterval-Objekte?.]]></description>
		<lastBuildDate>Sat, 26 Apr 2014 17:46:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Smarty-Modifier date_format für DateInterval-Objekte?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30771#p30771</link>
			<description><![CDATA[<p>Du kannst auch php Befehle als Modifikatoren verwenden <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" />... sozusagen eine sekundäre Vorformatierung.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Sat, 26 Apr 2014 17:46:03 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30771#p30771</guid>
		</item>
		<item>
			<title><![CDATA[Smarty-Modifier date_format für DateInterval-Objekte?]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30766#p30766</link>
			<description><![CDATA[<p>Ich habe Zeitinterval-Objekte die ich formatiert ausgeben will. Mit &quot;date_format&quot; kann ich ja Datumsangaben formatieren. Das scheint aber bei Zeitinterval-Objekten (ISO 6801) nicht zu funktionieren?!</p><p>Meine versuchte Syntax für Ausgabe in Tagen, Stunden, Minuten:</p><div class="codebox"><pre><code>|date_format:&#039;%dd %Hh %Im&#039;</code></pre></div><p>Beispiel-Objekt: </p><div class="codebox"><pre><code>DateInterval Object ( [y] =&gt; 0 [m] =&gt; 0 [d] =&gt; 8 [h] =&gt; 3 [i] =&gt; 23 [s] =&gt; 0 [invert] =&gt; 1 [days] =&gt; 8)</code></pre></div><p>Ich will halt nicht unbedingt die einzelnen Objekte einzeln alle auflisten, um sie auszugeben. Auch kommt eine Vorformatierung in PHP nicht in Frage, da ich zum Beispiel das Objekt für die Tage einzeln für eine Bedingung brauche. <br />Laut Smarty-Referenz kommt der Smarty-Modifier mit DateTime-Objekten zurecht. DateInterval-Objekte auch?</p>]]></description>
			<author><![CDATA[dummy@example.com (Tranquillius)]]></author>
			<pubDate>Sat, 26 Apr 2014 11:51:30 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=30766#p30766</guid>
		</item>
	</channel>
</rss>
