Is this a bug in PHP's gmstrftime() function?
<p>I'm having a problem with PHP's gmstrftime() function.
Please look:</p>

<pre><code>&lt;?
$ts[]=1348573985; // '2012-09-25 13:53:05' (date returned from mysql's from_unixtime() function)
$ts[]=1233958620; // '2009-02-06 23:17:00' (date returned from mysql's from_unixtime() function)

foreach($ts as $t) {
    echo $t." =&gt; ".gmstrftime( "%d %B %Y - %H:%M", $t )."\n";
}
?&gt;
</code></pre>

<p>Output will be:</p>

<pre><code>1348573985 =&gt; 25 September 2012 - 11:53
1233958620 =&gt; 06 February 2009 - 22:17
</code></pre>

<p>As you can see, the first timestamp is 2 hours off (from mysql's output), which is normal because of timezone settings. But the second one is only 1 hour off but I did not change the timezone between the two gmstrftime() call's??</p>

<p>Is this a bug in PHP's gmstrftime() function, or anything else?</p>
