Revision 8ce71ef6
Added by Benjamin Dauvergne about 13 years ago
| calebasse/settings/formats/fr/formats.py | ||
|---|---|---|
|
DATE_FORMAT = 'l d F Y'
|
||
|
SHORT_DATE_FORMAT = 'j/n/Y'
|
||
|
DATE_INPUT_FORMATS = ('%e/%m/%Y', '%d/%m/%Y', '%Y-%m-d')
|
||
|
DATE_INPUT_FORMATS = ('%d/%m/%Y', '%d/%m/%Y', '%Y-%m-d')
|
||
|
TIME_INPUT_FORMATS = ( '%Hh%M', '%H:%M', '%H%M', '%Hh' )
|
||
| calebasse/static/js/calebasse.dialog.js | ||
|---|---|---|
|
var months = $span.data('number-of-months');
|
||
|
var before_selector = $span.data('before-selector');
|
||
|
var after_selector = $span.data('after-selector');
|
||
|
$input.datepicker();
|
||
|
$input.datepicker({dateFormat: 'd/m/yy' });
|
||
|
if (months) {
|
||
|
$input.datepicker("option", "numberOfMonths", months);
|
||
|
}
|
||
| ... | ... | |
|
if ($input.is('.hasDatepicker')) {
|
||
|
return true;
|
||
|
}
|
||
|
$input.datepicker();
|
||
|
$input.datepicker({dateFormat: 'd/m/yy' });
|
||
|
if (months) {
|
||
|
$input.datepicker("option", "numberOfMonths", months);
|
||
|
}
|
||
Also available in: Unified diff
personnes: fix date fields in schedule and holiday views