window.DATE_LOCALE_FI = {
  init: function() {
    Date.monthNames = [
      'tammikuu',
      'helmikuu',
      'maaliskuu',
      'huhtikuu',
      'toukokuu',
      'kesäkuu',
      'heinäkuu',
      'elokuu',
      'syyskuu',
      'lokakuu',
      'marraskuu',
      'joulukuu'];
    Date.dayNames = ['Su','Ma','Ti','Ke','To','Pe','La'];
    Date.daysLabel = function(days) {return days + ' ' + (days == '1' ? 'päivä' : 'päivää');};
    Date.hoursLabel = function(hours) {return hours + ' ' + (hours == '1' ? 'tunti' : 'tuntia');};
  },
  shortDateFormat: 'j.n.Y',
  weekDateFormat: 'D j.n.Y',
  dateTimeFormat: 'D j.n.Y k\\lo G:i',
  firstWeekday: Date.MONDAY
};
window.DATE_LOCALE_ET = {
  init: function() {
    Date.monthNames = [
      'jaanuaar',
      'veebruaar',
      'märts',
      'april',
      'mai',
      'juuni',
      'juuli',
      'august',
      'september',
      'oktoober',
      'november',
      'detsember'];
    Date.dayNames = ['P','E','T','K','N','R','L'];
    Date.daysLabel = function(days) {return days + ' ' + (days == '1' ? 'päev' : 'päeva');};
    Date.hoursLabel = function(hours) {return hours + ' ' + (hours == '1' ? 'tund' : 'tundi');};
  },
  shortDateFormat: 'd.m.Y',
  weekDateFormat: 'D d.m.Y',
  dateTimeFormat: 'D d.m.Y k\\lo G:i',
  firstWeekday: Date.MONDAY
};
window.DATE_LOCALE_EN = {
  init: function() {
    Date.monthNames = ['January',
      'February',
      'March',
      'April',
      'May',
      'June',
      'July',
      'August',
      'September',
      'October',
      'November',
      'December'];
    Date.dayNames = ['Sunday',
      'Monday',
      'Tuesday',
      'Wednesday',
      'Thursday',
      'Friday',
      'Saturday'];
    Date.daysLabel = function(days) {return days + ' ' + (days == '1' ? 'Day' : 'Days');};
    Date.hoursLabel = function(hours) {return hours + ' ' + (hours == '1' ? 'Hour' : 'Hours');};
  },
  shortDateFormat: 'n/j/Y',
  weekDateFormat: 'D n/j/Y',
  dateTimeFormat: 'D n/j/Y G:i',
  firstWeekday: Date.SUNDAY
};
