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

Make partial dates without year to be 1970 based instead of 2000 #4496

Merged
merged 1 commit into from
Jan 7, 2014

Commits on Jan 7, 2014

  1. Make partial dates without year to be 1970 based instead of 2000

    Fixes elastic#4451
    
    Date fields without date (HH:mm:ss, for example) are parsed as time on Jan 1, 1970 UTC. However, before this change partial dates without year (MMM dd HH:mm:ss, for example) were parsed as as days of they year 2000. This change makes all partial dates to be treated based on year 1970. This is breaking change - before this change "Dec 15, 10:00:00" in most cases was parsed (and indexed) as "2000-12-15T10:00:00Z". After this change, it will be consistently parsed and indexed as  "1970-12-15T10:00:00Z"
    imotov committed Jan 7, 2014
    Configuration menu
    Copy the full SHA
    56b3941 View commit details
    Browse the repository at this point in the history