Commits

David Chambers committed 59e233a

Tweaked localization JavaScript.

  • Participants
  • Parent commits a77b444

Comments (0)

Files changed (1)

File templates/_base.dhtml

 			if (document.getElementsByTagName) {
 				var elements = document.getElementsByTagName('time'),
 					i = elements.length,
-					months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+					months = 'January February March April May June July August September October November December'.split(' '),
 					re = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::\d{2})?(?:[-+]00:00|Z)$/,
 					date, element, m;