We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Presently the time format of queryResult of rfc3339 is something like yyyy-MM-dd'T'HH:mm:ssX, which I excepted was yyyy-MM-dd HH:mm:ss like https://docs.influxdata.com/influxdb/v1.8/query_language/explore-data/#rfc3339-like-date-time-string.
yyyy-MM-dd'T'HH:mm:ssX
yyyy-MM-dd HH:mm:ss
Using SimpleDateFormat needs two-time converting
SimpleDateFormat inputSdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX"); SimpleDateFormat outputSdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date parse = inputSdf.parse(dateStr); String format = outputSdf.format(parse);
Is there a way to get like that?
The text was updated successfully, but these errors were encountered:
In addition, how can I get result like 1.4252832E9 to be a plain number with no converting?
1.4252832E9
Sorry, something went wrong.
#440 (comment)
No branches or pull requests
Presently the time format of queryResult of rfc3339 is something like
yyyy-MM-dd'T'HH:mm:ssX
, which I excepted wasyyyy-MM-dd HH:mm:ss
like https://docs.influxdata.com/influxdb/v1.8/query_language/explore-data/#rfc3339-like-date-time-string.Using SimpleDateFormat needs two-time converting
Is there a way to get like that?
The text was updated successfully, but these errors were encountered: