Ignore:
Timestamp:
12 May 2011, 01:46:39 (14 years ago)
Author:
uli
Message:

Render four digits for year.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/static/datepicker.js

    r6048 r6058  
    11$(function() {
    2   $( ".datepicker" ).datepicker({ dateFormat: 'yy-mm-dd',
     2  $( ".datepicker" ).datepicker({ dateFormat: 'yyyy-mm-dd',
    33                                  duration: 'fast'
    44  });
     
    66
    77$(function() {
    8   $( ".datepicker-le" ).datepicker({dateFormat: 'dd/mm/yy',
     8  $( ".datepicker-le" ).datepicker({dateFormat: 'dd/mm/yyyy',
    99        duration: 'fast'
    1010        });
     
    1212
    1313$(function() {
    14   $( ".datepicker-de" ).datepicker({dateFormat: 'dd.mm.yy',
     14  $( ".datepicker-de" ).datepicker({dateFormat: 'dd.mm.yyyy',
    1515        duration: 'fast'
    1616        });
     
    1818
    1919$(function() {
    20   $( ".datepicker-us" ).datepicker({dateFormat: 'mm/dd/yy',
     20  $( ".datepicker-us" ).datepicker({dateFormat: 'mm/dd/yyyy',
    2121        duration: 'fast'
    2222        });
     
    2424
    2525$(function() {
    26   $( ".datepicker-year" ).datepicker({ dateFormat: 'yy-mm-dd',
     26  $( ".datepicker-year" ).datepicker({ dateFormat: 'yyyy-mm-dd',
    2727        duration: 'fast',
    2828        changeYear: true,
     
    3232
    3333$(function() {
    34   $( ".datepicker-le-year" ).datepicker({dateFormat: 'dd/mm/yy',
     34  $( ".datepicker-le-year" ).datepicker({dateFormat: 'dd/mm/yyyy',
    3535        duration: 'fast',
    3636        changeYear: true,
     
    4040
    4141$(function() {
    42   $( ".datepicker-de-year" ).datepicker({dateFormat: 'dd.mm.yy',
     42  $( ".datepicker-de-year" ).datepicker({dateFormat: 'dd.mm.yyyy',
    4343        duration: 'fast',
    4444        changeYear: true,
     
    4848
    4949$(function() {
    50   $( ".datepicker-us-year" ).datepicker({dateFormat: 'mm/dd/yy',
     50  $( ".datepicker-us-year" ).datepicker({dateFormat: 'mm/dd/yyyy',
    5151        duration: 'fast',
    5252        changeYear: true,
Note: See TracChangeset for help on using the changeset viewer.