influxdata / influxdb-client-php

InfluxDB (v2+) Client Library for PHP
https://influxdata.github.io/influxdb-client-php/
MIT License
150 stars 47 forks source link

fix: nanosecond datetime string convertor #96

Closed bednar closed 3 years ago

bednar commented 3 years ago

Closes #94

Proposed Changes

Some APIs can return date without nanosecond precision.

Checklist

codecov-commenter commented 3 years ago

Codecov Report

Merging #96 (31102d7) into master (8f52ccc) will increase coverage by 0.22%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #96      +/-   ##
============================================
+ Coverage     81.66%   81.88%   +0.22%     
  Complexity      379      379              
============================================
  Files            23       23              
  Lines           900      900              
============================================
+ Hits            735      737       +2     
+ Misses          165      163       -2     
Impacted Files Coverage Δ
src/InfluxDB2/ObjectSerializer.php 56.92% <100.00%> (+1.53%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8f52ccc...31102d7. Read the comment docs.