<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Forums Topic: date mis-displays in public view</title>
<link>http://omeka.org/forums/</link>
<description>Forums Topic: date mis-displays in public view</description>
<language>en</language>
<pubDate>Thu, 21 Aug 2008 23:05:58 +0000</pubDate>

<item>
<title>SheilaBrennan on "date mis-displays in public view"</title>
<link>http://omeka.org/forums/topic/date-mis-displays-in-public-view#post-411</link>
<pubDate>Thu, 08 May 2008 18:06:16 +0000</pubDate>
<dc:creator>SheilaBrennan</dc:creator>
<guid isPermaLink="false">411@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi Sara, &#60;/p&#62;
&#60;p&#62;Kris helped me find a workaround that will show dates properly on the public pages. We are working on fixing the way that Omeka deals with dates for other releases, but for now you can modify the items/show.php file found in your public theme directory. If you echo the date only, it should show the proper date on the public pages.&#60;br /&#62;
See here:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if($item-&#38;gt;date): ?&#38;gt;

&#38;lt;div id=&#38;quot;date&#38;quot; class=&#38;quot;field&#38;quot;&#38;gt;
            &#38;lt;h2&#38;gt;Date&#38;lt;/h2&#38;gt;

 &#38;lt;div class=&#38;quot;field-value&#38;quot;&#38;gt;&#38;lt;?php echo nls2p($item-&#38;gt;date); ?&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This should work, but if you have problems let me know.&#60;/p&#62;
&#60;p&#62;Sheila
&#60;/p&#62;</description>
</item>
<item>
<title>SheilaBrennan on "date mis-displays in public view"</title>
<link>http://omeka.org/forums/topic/date-mis-displays-in-public-view#post-405</link>
<pubDate>Fri, 02 May 2008 17:57:52 +0000</pubDate>
<dc:creator>SheilaBrennan</dc:creator>
<guid isPermaLink="false">405@http://omeka.org/forums/</guid>
<description>&#60;p&#62;Hi Sara, &#60;/p&#62;
&#60;p&#62;Thank you for making us aware of this bug. Our developers know about it and we'll update you when we know more about the problem. &#60;/p&#62;
&#60;p&#62;Sorry for the inconvenience. &#60;/p&#62;
&#60;p&#62;Sheila
&#60;/p&#62;</description>
</item>
<item>
<title>sara on "date mis-displays in public view"</title>
<link>http://omeka.org/forums/topic/date-mis-displays-in-public-view#post-404</link>
<pubDate>Thu, 01 May 2008 21:52:04 +0000</pubDate>
<dc:creator>sara</dc:creator>
<guid isPermaLink="false">404@http://omeka.org/forums/</guid>
<description>&#60;p&#62;If one only enters a year in date and leaves month and day blank on the admin side, in public view the date shows up as 11.30.previous year.&#60;br /&#62;
Example:&#60;br /&#62;
admin side (edit), date: 1905 [blank] [blank]&#60;br /&#62;
public view, date: 11.30.1904&#60;/p&#62;
&#60;p&#62;And even if one tries to enter zeros instead of leaving the Month and Day fields blank, one ends up with the same thing, and the zeros just disappear in any case. &#60;/p&#62;
&#60;p&#62;Similary, if one enters a year in date and a month but no day on the admin side, in public view it shows up as last day of previous month correct year.&#60;br /&#62;
Example:&#60;br /&#62;
admin side (edit), date: 2008 03 [blank]&#60;br /&#62;
public view, date: 02.29.2008&#60;/p&#62;
&#60;p&#62;Any ideas on how to fix this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
