stew90
unread,Sep 24, 2009, 10:30:54 AM9/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jQuery UI Development
Hi,
Can you please add in UK localisation?
I think the correct code is as below:
jQuery(function($){
$.datepicker.regional['en-gb'] = {
closeText: 'Done', // Display text for close link
prevText: 'Prev', // Display text for previous month link
nextText: 'Next', // Display text for next month link
currentText: 'Today', // Display text for current month link
monthNames: ['January','February','March','April','May','June',
'July','August','September','October','November','December'], //
Names of months for drop-down and formatting
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday',
'Friday', 'Saturday'], // For formatting
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], //
For formatting
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column
headings for days starting at Sunday
dateFormat: 'dd/mm/yy', // See format options on parseDate
firstDay: 1, // The first day of the week, Sun = 0, Mon = 1, ...
isRTL: false };
$.datepicker.setDefaults($.datepicker.regional['en-GB']);
});
Thanks,
Stuart