Skip to content

DFLT: change formats for AutoDateFormatter #5445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

tacaswell
Copy link
Member

  • Use ISO complient formats by default
  • aded extra level of scale (seconds)
  • add rcparams for all of these strings

closes #4808 closes #4809 closes #5086

@tacaswell tacaswell added this to the next major release (2.0) milestone Nov 8, 2015
 - Use ISO complient formats by default
 - aded extra level of scale (seconds)
 - add rcparams for all of these strings

closes matplotlib#4808 closes matplotlib#4809 closes matplotlib#5086
date.autoformatter.day :'%b %d %Y'
date.autoformatter.hour :'%H:%M:%S'
date.autoformatter.minute :'%H:%M:%S.%f'
date.autoformatter.second :'%H:%M:%S.%f'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to include hours when resolving down to the fractions of a second?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and I just noticed that this is the classic style... nm

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the ' need to be removed here. They are included verbatim in the result. Even without them, the spaces are preserved.

# date.autoformatter.day : '%%Y-%%m-%%d'
# date.autoformatter.hour : '%%H:%%M'
# date.autoformatter.minute : '%%H:%%M:%%S'
# date.autoformatter.second : '%%H:%%M:%%S.%%f'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto with the ' here.

@mdboom
Copy link
Member

mdboom commented Dec 14, 2015

Looks like this needs a rebase.

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