<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The Perfect Timestamp</title>
	<atom:link href="http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/</link>
	<description>A chess-playing machine of the late 18th century, promoted as an automaton but later proved a hoax.</description>
	<lastBuildDate>Mon, 30 Jan 2012 07:56:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: linoj</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-584</link>
		<dc:creator><![CDATA[linoj]]></dc:creator>
		<pubDate>Mon, 30 Jul 2007 20:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-584</guid>
		<description><![CDATA[Your post inspired me to think of my own holy grail of timestamps. It&#039;s a bit different from yours :)
  &lt;a href=&quot;http://www.vaporbase.com/postings/My_timestamp_holy_grail&quot; rel=&quot;nofollow&quot;&gt;http://www.vaporbase.com/postings/My_timestamp_ho...&lt;/a&gt; ]]></description>
		<content:encoded><![CDATA[<p>Your post inspired me to think of my own holy grail of timestamps. It&#039;s a bit different from yours <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
  <a href="http://www.vaporbase.com/postings/My_timestamp_holy_grail" rel="nofollow">http://www.vaporbase.com/postings/My_timestamp_ho&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-583</link>
		<dc:creator><![CDATA[Trevor]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 18:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-583</guid>
		<description><![CDATA[Jason, you can check out the app I mentioned (El Dorado) to see how I&#039;m supporting timezones. I&#039;m pretty sure I&#039;m not doing everything 100% right, but I think it&#039;s pretty good for a first try. 
 

  &lt;a href=&quot;http://eldorado.googlecode.com/svn/trunk/app/helpers/application_helper.rb&quot; rel=&quot;nofollow&quot;&gt;http://eldorado.googlecode.com/svn/trunk/app/help...&lt;/a&gt;  

 
I removed the stuff dealing with timezones from this post to simplify things. I figure when you&#039;re saving times, you should save them at UTC, and when you&#039;re displaying them, you adjust them and display them to be the user&#039;s local time without displaying the timezone information. ]]></description>
		<content:encoded><![CDATA[<p>Jason, you can check out the app I mentioned (El Dorado) to see how I&#039;m supporting timezones. I&#039;m pretty sure I&#039;m not doing everything 100% right, but I think it&#039;s pretty good for a first try. </p>
<p>  <a href="http://eldorado.googlecode.com/svn/trunk/app/helpers/application_helper.rb" rel="nofollow">http://eldorado.googlecode.com/svn/trunk/app/help&#8230;</a>  </p>
<p>I removed the stuff dealing with timezones from this post to simplify things. I figure when you&#039;re saving times, you should save them at UTC, and when you&#039;re displaying them, you adjust them and display them to be the user&#039;s local time without displaying the timezone information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Frankovitz</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-582</link>
		<dc:creator><![CDATA[Jason Frankovitz]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 16:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-582</guid>
		<description><![CDATA[This is a great effort and addresses a problem I&#039;ve been thinking about for a long time. I don&#039;t see anything about timezone support though - is that a deliberate omission? 3:15 pm in LA is not 3:15pm in Madagascar :) ]]></description>
		<content:encoded><![CDATA[<p>This is a great effort and addresses a problem I&#039;ve been thinking about for a long time. I don&#039;t see anything about timezone support though &#8211; is that a deliberate omission? 3:15 pm in LA is not 3:15pm in Madagascar <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikkel</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-581</link>
		<dc:creator><![CDATA[mikkel]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 12:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-581</guid>
		<description><![CDATA[am/pm means crap to me, we are running 24 hour clocks in my part of the world... ]]></description>
		<content:encoded><![CDATA[<p>am/pm means crap to me, we are running 24 hour clocks in my part of the world&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-580</link>
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 10:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-580</guid>
		<description><![CDATA[@RSL:
 

 
If you did want periods in your ams and pms, you could put something like:
 

 
class Time # or DateTime
 
  alias strftime old_strftime
 

 
  def strftime(format)
 
    self.old_strftime(format).gsub(/([ap])(m)/i, &#039;1.2.&#039;)
 
  end
 
end
 

 
in your environment.rb.
 

 
Alex ]]></description>
		<content:encoded><![CDATA[<p>@RSL:</p>
<p>If you did want periods in your ams and pms, you could put something like:</p>
<p>class Time # or DateTime</p>
<p>  alias strftime old_strftime</p>
<p>  def strftime(format)</p>
<p>    self.old_strftime(format).gsub(/([ap])(m)/i, &#039;1.2.&#039;)</p>
<p>  end</p>
<p>end</p>
<p>in your environment.rb.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-579</link>
		<dc:creator><![CDATA[Trevor]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 09:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-579</guid>
		<description><![CDATA[I think you&#039;re right, actually, but I hate the way it looks with periods in there. 
 

 
Another thing I should have mentioned - what&#039;s up with there being no way to get rid of leading zeros in the hour? That&#039;s why I&#039;m doing the %I.to_i.to_s thing, which seems to be a pretty decent solution. ]]></description>
		<content:encoded><![CDATA[<p>I think you&#039;re right, actually, but I hate the way it looks with periods in there. </p>
<p>Another thing I should have mentioned &#8211; what&#039;s up with there being no way to get rid of leading zeros in the hour? That&#039;s why I&#039;m doing the %I.to_i.to_s thing, which seems to be a pretty decent solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RSL</title>
		<link>http://trevorturk.wordpress.com/2007/07/29/the-perfect-timestamp/#comment-578</link>
		<dc:creator><![CDATA[RSL]]></dc:creator>
		<pubDate>Sun, 29 Jul 2007 09:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/07/29/the-perfect-timestamp/#comment-578</guid>
		<description><![CDATA[&quot;For example, AM and PM always come out in ALL CAPS. What&#226;&#8364;&#8482;s the deal with that?&quot;
 

 
Indeed, what _is_ with that. Your solution is sooooo close but according to most of the style guides I&#039;ve found online [ &lt;a href=&quot;http://www.google.com/search?q=am+pm+capitalized&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/search?q=am+pm+capitalized&lt;/a&gt; ] am/pm should contain periods like a.m./p.m. Yes, it&#039;s more than a hair pedantic but what&#039;s the point of this code if not to get things _right_? ]]></description>
		<content:encoded><![CDATA[<p>&quot;For example, AM and PM always come out in ALL CAPS. What&acirc;&euro;&trade;s the deal with that?&quot;</p>
<p>Indeed, what _is_ with that. Your solution is sooooo close but according to most of the style guides I&#039;ve found online [ <a href="http://www.google.com/search?q=am+pm+capitalized" rel="nofollow">http://www.google.com/search?q=am+pm+capitalized</a> ] am/pm should contain periods like a.m./p.m. Yes, it&#039;s more than a hair pedantic but what&#039;s the point of this code if not to get things _right_?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

