Skip to content

[Lens] Date formatter #67206

@wylieconlon

Description

@wylieconlon

The Lens editor should allow date formatting where users can control date format and timezone on each date aggregation. This will give visualization authors the ability to add local settings that aren't part of the Kibana defaults, such as day of week or AM/PM formatting.

The most important options are:

  • Default date formatter
  • Moment.js custom format

But I think we would be missing options with just those two, so I also propose that add the following options:

  • ISO8601 (YYYY-MM-DDTHH:mm:ssZ)
  • YYYY-MM-DD
  • YY-MM-DD
  • MM/DD
  • HH:mm:ssss (16:42:999)
  • h:mm a (12:23 pm)

Previous requests for the other editors:

Per visualization formatters #4957
Custom date formats in visualization #13784

Related issue for Lens:

Multi-scale date formatter #51227

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.🧊 iceboxed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions