title: setlocale(LC_ALL, 'it_IT'); set, but still dates in english
body: <p>I have this code which through json_decode retrieves my latest tweets, their date, etc.</p>
  
  <pre><code>&lt;?php setlocale(LC_ALL, 'it_IT'); ?&gt;
  &lt;?php include("twitter_auth.php");
  echo "&lt;ul style='color:#6E6E6E'&gt;";
  foreach ($twitter_data as $tweet)
  {
      if (!empty($tweet)) {
          $text = $tweet-&gt;text;
          $text_in_tooltip = str_replace('"', '', $text); // replace " to avoid conflicts with title="" opening tags
          $id = $tweet-&gt;id;
          $time = strftime('%d %B', strtotime($tweet-&gt;created_at));
          $username = $tweet-&gt;user-&gt;name;
      }
      echo '&lt;li&gt;&lt;span title="'; echo $text_in_tooltip; echo '"&gt;'; echo $text . "&lt;/span&gt;&lt;br&gt;
          &lt;a href=\"http://twitter.com/"; echo $username ; echo '/status/'; echo $id ; echo '"&gt;&lt;small&gt;'; echo $time; echo '&lt;/small&gt;&lt;/a&gt; - 
          &lt;a href="http://twitter.com/intent/tweet?in_reply_to='; echo $id; echo '"&gt;&lt;small&gt;rispondi&lt;/small&gt;&lt;/a&gt; - 
          &lt;a href="http://twitter.com/intent/retweet?tweet_id='; echo $id; echo '"&gt;&lt;small&gt;retweet&lt;/small&gt;&lt;/a&gt; - 
          &lt;a href="http://twitter.com/intent/favorite?tweet_id='; echo $id; echo '"&gt;&lt;small&gt;preferito&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;';
  }
  
  echo '&lt;/ul&gt;';
  ?&gt;
  </code></pre>
  
  <p>Problem is that $time outputs something like "03 February" even though there is a setlocale(LC_ALL, 'it_IT');. What's the error? How can I have dates output in italian? 
  System: PHP 5.4.11 and nginx (on Ubuntu Server).</p>
  
  <p><strong>EDIT:</strong> I also ran dpkg-reconfigure locales:</p>
  
  <pre><code>Generating locales...
    en_US.UTF-8... up-to-date
    it_IT.UTF-8... up-to-date
  Generation complete.
  </code></pre>