| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
Rename `include_seconds_or_options` to `options` to match 6b9356a (which removed the deprecation introduced by #6077). This has no functional impact because the parameter is passed directly through, but makes it clearer that the parameter no longer supports a boolean as input.
|
|
|
|
|
| |
with_css_classes: true option overwrites other html classes.
Concatenate day month and year classes rather than overwriting.
|
|
|
|
|
|
|
| |
Refactor numerical constants to module constants which give the numbers
a contextual meaning. This commit aims to provide quicker understanding
for part of the implementation of the
DateHelper#distance_of_time_in_words method.
|
|
|
|
| |
#13618]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- While editing an existing record, end_year is equal to current selected year plus 5 by default.
- While editing an existing record, start_year is equal to current selected year value minus 5 by default.
- Fixes #13552
Acked-by: Prathamesh Sonpatki <csonpatki@gmail.com>
Acked-by: Prathamesh Sonpatki <csonpatki@gmail.com>
|
| |
|
| |
|
| |
|
|
|
| |
The variable name created in the example is `my_date`, the methods were using `my_time` instead.
|
|
|
|
| |
Pass in an :include_seconds hash option to use this feature.
|
|
|