Example #1
0
 /**
  * @group Core
  * @group Period
  * @group Period_Day
  */
 public function testGetLocalizedShortString()
 {
     Piwik_Translate::getInstance()->loadEnglishTranslation();
     $month = new Piwik_Period_Day(Piwik_Date::factory('2024-10-09'));
     $shouldBe = 'Wed 9 Oct';
     $this->assertEquals($shouldBe, $month->getLocalizedShortString());
 }