Skip to content

Commit

Permalink
csv import with timestamps in format with z postfix
Browse files Browse the repository at this point in the history
  • Loading branch information
swoellauer committed Aug 26, 2024
1 parent bab6982 commit c0aef6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tsdb/TsDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
public class TsDB implements AutoCloseable {

public static final String tubedb_version = "1.32";
public static final String tubedb_version = "1.32.1";

/**
* map regionName -> Region
Expand Down
1 change: 1 addition & 0 deletions src/tsdb/util/TimeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ public static int parseNormalDatetime(String s) {
return parseNormalDateTimeFormat13(s);
case 16: // minutes
case 19: // Format with seconds: 2009-01-01T00:00:00 (ignore seconds)
case 20: // Format with seconds: 2009-01-01T00:00:00Z (ignore seconds and Z)
return parseNormalDateTimeFormat16(s);
default:
throw new RuntimeException("unknown timestamp "+s);
Expand Down

0 comments on commit c0aef6e

Please sign in to comment.