-
Improvement
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_405_STABLE
-
For better multi-language support, and to support more fine grained filtering of numeric data, ensure that we consistently support localised floats as filter input
- Duration & filesize use PARAM_FLOAT (non-localised)
- Number uses PARAM_INT (floats are silently truncated)
- Date uses PARAM_INT (limitation of date/time formats)
Note:
number is an integer number; if a decimal number is given, the dot (or comma) is likely interpreted as delimiter. For instance, '+1.5 hours' is parsed like '+1 5 hours', not as '+1 hour +30 minutes'.
It will be good to achieve consistency across all filters, but will also be especially helpful once MDL-75141 lands and we are more likely to have floats in aggregated values that we want to similarly filter (with user supplied floats)
- has been marked as being related by
-
MDL-80858 Add numeric field type for course custom fields
- Closed
- links to