Revision 8ce71ef6
Added by Benjamin Dauvergne over 12 years ago
calebasse/settings/formats/fr/formats.py | ||
---|---|---|
1 | 1 |
DATE_FORMAT = 'l d F Y' |
2 | 2 |
SHORT_DATE_FORMAT = 'j/n/Y' |
3 |
DATE_INPUT_FORMATS = ('%e/%m/%Y', '%d/%m/%Y', '%Y-%m-d')
|
|
3 |
DATE_INPUT_FORMATS = ('%d/%m/%Y', '%d/%m/%Y', '%Y-%m-d')
|
|
4 | 4 |
TIME_INPUT_FORMATS = ( '%Hh%M', '%H:%M', '%H%M', '%Hh' ) |
calebasse/static/js/calebasse.dialog.js | ||
---|---|---|
69 | 69 |
var months = $span.data('number-of-months'); |
70 | 70 |
var before_selector = $span.data('before-selector'); |
71 | 71 |
var after_selector = $span.data('after-selector'); |
72 |
$input.datepicker(); |
|
72 |
$input.datepicker({dateFormat: 'd/m/yy' });
|
|
73 | 73 |
if (months) { |
74 | 74 |
$input.datepicker("option", "numberOfMonths", months); |
75 | 75 |
} |
... | ... | |
102 | 102 |
if ($input.is('.hasDatepicker')) { |
103 | 103 |
return true; |
104 | 104 |
} |
105 |
$input.datepicker(); |
|
105 |
$input.datepicker({dateFormat: 'd/m/yy' });
|
|
106 | 106 |
if (months) { |
107 | 107 |
$input.datepicker("option", "numberOfMonths", months); |
108 | 108 |
} |
Also available in: Unified diff
personnes: fix date fields in schedule and holiday views