Skip to content

Commit a1690fb

Browse files
committed
Changed epoch parameter to be in compliance with documentation.
See current documentation https://docs.influxdata.com/influxdb/v1.7/guides/querying_data/#other-options-when-querying-data This is also present in old documentation, at least since version 0.13 https://docs.influxdata.com/influxdb/v0.13/guides/querying_data/#other-options-when-querying-data
1 parent 02536e1 commit a1690fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/influxdb/impl/TimeUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static String toTimePrecision(final TimeUnit t) {
6060
case MICROSECONDS:
6161
return "u";
6262
case NANOSECONDS:
63-
return "n";
63+
return "ns";
6464
default:
6565
throw new IllegalArgumentException("time precision must be one of:" + ALLOWED_TIMEUNITS);
6666
}

0 commit comments

Comments
 (0)