Skip to content
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

Autodetection of date format is confused by underscores #442

Closed
krlmlr opened this issue Jun 24, 2016 · 1 comment
Closed

Autodetection of date format is confused by underscores #442

krlmlr opened this issue Jun 24, 2016 · 1 comment
Assignees
Labels
bug an unexpected problem or unintended behavior
Milestone

Comments

@krlmlr
Copy link
Member

krlmlr commented Jun 24, 2016

> readr::read_csv("a\n2_15_3")
Warning: 1 parsing failure.
row col   expected actual
  1   a valid date 2_15_3
# A tibble: 1 x 1
       a
  <date>
1   <NA>

Why does readr think "2_15_3" is a date?

@hadley hadley added bug an unexpected problem or unintended behavior collector labels Jul 6, 2016
@hadley
Copy link
Member

hadley commented Jul 10, 2016

This is related to #463

@hadley hadley modified the milestone: 0.3.0 Jul 13, 2016
hadley added a commit that referenced this issue Jul 13, 2016
* And use in the date and time formats in the default locale

* Fix bug in consumeInteger: previously it did not check that exactly n character were consumed

Fixes #442.
@hadley hadley closed this as completed in 095bd4a Jul 13, 2016
@lock lock bot locked and limited conversation to collaborators Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants