Skip to content

Commit

Permalink
Remove leading zero in months' values (#19391)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy authored and Michael Babker committed Jan 18, 2018
1 parent df37e78 commit 8a70590
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions components/com_content/views/archive/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ public function display($tpl = null)
// Month Field
$months = array(
'' => JText::_('COM_CONTENT_MONTH'),
'01' => JText::_('JANUARY_SHORT'),
'02' => JText::_('FEBRUARY_SHORT'),
'03' => JText::_('MARCH_SHORT'),
'04' => JText::_('APRIL_SHORT'),
'05' => JText::_('MAY_SHORT'),
'06' => JText::_('JUNE_SHORT'),
'07' => JText::_('JULY_SHORT'),
'08' => JText::_('AUGUST_SHORT'),
'09' => JText::_('SEPTEMBER_SHORT'),
'1' => JText::_('JANUARY_SHORT'),
'2' => JText::_('FEBRUARY_SHORT'),
'3' => JText::_('MARCH_SHORT'),
'4' => JText::_('APRIL_SHORT'),
'5' => JText::_('MAY_SHORT'),
'6' => JText::_('JUNE_SHORT'),
'7' => JText::_('JULY_SHORT'),
'8' => JText::_('AUGUST_SHORT'),
'9' => JText::_('SEPTEMBER_SHORT'),
'10' => JText::_('OCTOBER_SHORT'),
'11' => JText::_('NOVEMBER_SHORT'),
'12' => JText::_('DECEMBER_SHORT')
Expand Down

0 comments on commit 8a70590

Please sign in to comment.