afe_date_picker
Use eternicode/bootstrap-datepicker as GUI wrapper for DateType.
type: integer|string
, default: yyyy-MM-dd
Inherited from DateType. This is the format used by application logic.
type: string
, default: yyyy-mm-dd
The date format, combination of d, dd, D, DD, m, mm, M, MM, yy, yyyy:
d
: Day of the month, one or two digit, eg.9
dd
: Day of the month, two digit, eg.09
D
: Day of the week, localized, abbreviated, three chars, eg.Mon
DD
: Day of the week, localized, complete, eg.Monday
m
: Month, one or two digit, eg.2
mm
: Month, two digit, eg.02
M
: Month, localized, abbreviated, eg.Feb
MM
: Month, localized, complete, eg.February
yy
: Year, at least two digit, eg.12
yyyy
: Year, at least four digit, eg.2012
type: integer
, default: 1
Day of the week start:
0
: Sunday1
: Monday2
: Tuesday3
: Wednesday4
: Thursday5
: Friday6
: Saturday
type: boolean
, default: false
Whether or not to show week numbers to the left of week rows.
type: string
, default: 20 years ago
String value representing the earliest date that may be selected, all earlier dates will be disabled. The string should be in a format recognized by the parse method (IETF-compliant RFC 2822 timestamps).
type: string
, default: 20 years from now
String value representing the latest date that may be selected, all later dates will be disabled. The string should be in a format recognized by the parse method (IETF-compliant RFC 2822 timestamps).
type: array
, default: array()
Array of numeric representation of days of the week that should be disabled:
0
: Sunday1
: Monday2
: Tuesday3
: Wednesday4
: Thursday5
: Friday6
: Saturday
type: boolean
, default: true
Whether or not to close the datepicker immediately when a date is selected.
type: integer|string
, default: month
Start view mode:
0
ormonth
display days1
oryear
display months2
ordecade
display years
type: string
, default: days
Minimum view mode:
0
ordays
display days1
ormonths
display months2
oryears
display years
type: boolean
, default: false
If true or "linked", displays a "Today" button at the bottom of the datepicker to select the current date.
type: boolean
, default: false
If true, highlights the current date.
type: boolean
, default: false
If true, displays a "Clear" button at the bottom of the datepicker to clear the input value.
If autoclose
is also set to true, this button will also close the datepicker.
type: string
, default: value of %locale%
parameter
Choose widget language.