Skip to content

Commit

Permalink
No longer set yyyy-MM-dd and dd-MMM-yy dates that precede the epoch t…
Browse files Browse the repository at this point in the history
…o be NA. Negative time values are fine. This unifies these two time formats with the behavior of as.Date.
  • Loading branch information
bghill committed Jun 14, 2015
1 parent 9d0ff30 commit 75f6a6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion h2o-core/src/main/java/water/parser/ParseTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ private static long attemptTimeParse_01( ValueString str ) {
yy = digit(yy,buf[i++]);
yy = digit(yy,buf[i++]);
yy = digit(yy,buf[i++]);
if( yy < 1970 ) return Long.MIN_VALUE;
if( buf[i++] != '-' ) return Long.MIN_VALUE;
MM = digit(MM,buf[i++]);
MM = digit(MM,buf[i++]);
Expand Down

0 comments on commit 75f6a6c

Please sign in to comment.