<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Whaly&#039;s World &#187; locale</title>
	<atom:link href="http://baleinoid.com/whaly/tag/locale/feed/" rel="self" type="application/rss+xml" />
	<link>http://baleinoid.com/whaly</link>
	<description>tail -f /var/log/whaly</description>
	<lastBuildDate>Wed, 10 Mar 2010 20:19:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The time separator</title>
		<link>http://baleinoid.com/whaly/2009/08/the-time-separator/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-time-separator</link>
		<comments>http://baleinoid.com/whaly/2009/08/the-time-separator/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 14:13:38 +0000</pubDate>
		<dc:creator>whaly</dc:creator>
				<category><![CDATA[Microsoft .NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[locale]]></category>

		<guid isPermaLink="false">http://baleinoid.com/whaly/?p=55</guid>
		<description><![CDATA[DateTime.Now.ToString(&#34;HH:mm:ss&#34;); is a common mystake if you want to transmit to someone or to be sure that you have something like "HH:mm:ss" because the character (:) is not just a colon, it's a time separator wich depend on the locale. Here is a list of culture where the (:) change into a dot (.) it-IT [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: csharp; light: true;">DateTime.Now.ToString(&quot;HH:mm:ss&quot;);</pre>
<p>is a common mystake if you want to transmit to someone or to be sure that you have something like "HH:mm:ss" because the character (:) is not just a colon, it's a time separator wich depend on the locale.</p>
<p>Here is a list of culture where the (:) change into a dot (.)<br />
it-IT : Italian (Italy)<br />
fo-FO : Faroese (Faroe Islands)<br />
bn-BD : Bengali (Bangladesh)<br />
ml-IN : Malayalam (India)<br />
bn-IN : Bengali (India)</p>
<p>To workaround you can use CultureInfo.InvariantCulture or escape the colon character.</p>
<p>... and same story for the date separator "/" but this one is at this time the same for every culture.</p>
]]></content:encoded>
			<wfw:commentRss>http://baleinoid.com/whaly/2009/08/the-time-separator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
