[Datepicker] Region: fo

[Datepicker] Region: fo

I find this forum software quite unintuitive to use, so I hope I am in the right place! If not then I am sorry.

Using the datepicker demo I noticed it did not have a Faroese (FO) region. I know, Faroese is not exactly a major language, but since I am fluent in it and because I use jQuery almost every day I thought I should contribute what I can, if you will have it.

So, here it is:


  1. /* Faroese initialisation for the jQuery UI date picker plugin */
  2. /* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
  3. jQuery(function($){
  4.         $.datepicker.regional['fo'] = {
  5.                 closeText: 'Lat aftur',
  6.                 prevText: '<Fyrra',
  7.                 nextText: 'Næsta>',
  8.                 currentText: 'Í dag',
  9.                 monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni','Juli','August','September',
  10.                         'Oktober','November','Desember'],
  11.                 monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun','Jul','Aug','Sep','Okt','Nov','Des'],
  12.                 dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur',
  13.                         'Fríggjadagur','Leyardagur'],
  14.                 dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
  15.                 dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
  16.                 dateFormat: 'dd-mm-yy',
  17.                 firstDay: 0,
  18.                 isRTL: false
  19.         };
  20.         $.datepicker.setDefaults($.datepicker.regional['fo']);
  21. });