React hook that returns the display date format for a specific layer.
The hook first attempts to resolve a layer-specific display date format
using the provided layer path. If the layer does not define its own
display date format (or cannot be found), the application-wide display
date format for the current map is returned as a fallback.
Parameters
layerPath: string
Unique path identifying the layer in the legend state.
React hook that returns the display date format for a specific layer. The hook first attempts to resolve a layer-specific display date format using the provided layer path. If the layer does not define its own display date format (or cannot be found), the application-wide display date format for the current map is returned as a fallback.