Skip to content

histogram: dateformat implementation unification and improments#817

Closed
mcuadros wants to merge 1 commit intoelastic:masterfrom
mcuadros:histogram-dateformats
Closed

histogram: dateformat implementation unification and improments#817
mcuadros wants to merge 1 commit intoelastic:masterfrom
mcuadros:histogram-dateformats

Conversation

@mcuadros
Copy link

@mcuadros mcuadros commented Jan 8, 2014

This is a improved of the date formats based in intervals used in histogram

Now the formats of the histogram are:

less 1d: HH:mm<br>MM-DD (16:01 01-08)
less 1w: YYYY-MM-DD<br>dddd (2014-01-08)
less 1m: YYYY-MM-DD<br>Wo [week] (2014-01-08 1st week)
less 1y: YYYY-MM-DD<br>MMMM (2014-01-08 January)

BTW i made a merge of the code used in the ticker and the label.

screen shot 2014-01-08 at 16 08 03

@bobrik
Copy link

bobrik commented Jan 8, 2014

What's the point of specifying month twice?

@mcuadros
Copy link
Author

mcuadros commented Jan 8, 2014

I was looking for a quick read label and the same date format with some extra data: the month, week number, etc

@mcuadros
Copy link
Author

ping

@rashidkpc
Copy link
Contributor

While I understand the use case, I'm not sure the redundant information is useful at this time

@mcuadros
Copy link
Author

Maybe will be better: (2014, January) but i think that is important to have the test to easy read, when you have the day is hard to read.

@rashidkpc
Copy link
Contributor

For now we're going to stick with the date formats we have.

@rashidkpc rashidkpc closed this Feb 24, 2014
edmarmoretti pushed a commit to edmarmoretti/kibana-pt-br that referenced this pull request Sep 7, 2025
edmarmoretti pushed a commit to edmarmoretti/kibana-pt-br that referenced this pull request Sep 7, 2025
# [21.3.0](elastic/elastic-charts@v21.2.0...v21.3.0) (2020-09-16)

### Bug Fixes

* legend dark mode hover color ([elastic#820](elastic/elastic-charts#820)) ([5227b2e](elastic/elastic-charts@5227b2e))

### Features

* cancel brush/click event with escape key ([elastic#819](elastic/elastic-charts#819)) ([b599d13](elastic/elastic-charts@b599d13))
* show crosshair for external pointer events ([elastic#817](elastic/elastic-charts#817)) ([f591a6a](elastic/elastic-charts@f591a6a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants