Open stragu opened 2 weeks ago
You can use the epoch function as a workaround in the meantime. Or anything to convert them to numbers.
You can use the epoch function as a workaround in the meantime. Or anything to convert them to numbers.
Thank you, that is indeed useful, but does not help for having a meaningful legend. (I don't think the "Legend format" field supports the use of expressions to revert back to dates?)
The fact that these data types are available to be selected in the Graduated symbology makes me think this is a bug rather that a feature request... Has this ever been handled properly in the past?
Feature description
In QGIS 3.34, using a date or datetime data field in a graduated symbology results in either no symbology at all or 0-to-0 classes, depending on the mode selected.
For example, this small geojson point dataset:
With a "date" column of type "Date", try using a graduated symbology: Layer - Properties - Symbology - Graduated - Value = date - Method = color - Mode = Equal Interval - Classify - OK.
Actual results: classification only shows zeros. All features coloured with the same end of the gradient.
Expected result: data classified according to the date range and the mode chosen.
Version info:
Active Python plugins QuickOSM | 2.2.3 quick_map_services | 0.19.34 db_manager | 0.1.20 grassprovider | 2.12.99 MetaSearch | 0.3.6 processing | 2.12.99
Additional context
No response