deInternetJongens / Lighthouse-Utils

An add-on to Lighthouse to auto-generate CRUD actions from types https://github.com/nuwave/lighthouse
MIT License
26 stars 2 forks source link

Return correctly formatted datetime timezone #11

Closed AJTimmerman closed 5 years ago

AJTimmerman commented 5 years ago

Format the incoming date and retrieve the timezone. Add this to the current value and return it without the timezone.

codecov-io commented 5 years ago

Codecov Report

Merging #11 into develop will increase coverage by 0.12%. The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #11      +/-   ##
=============================================
+ Coverage      77.86%   77.98%   +0.12%     
  Complexity       174      174              
=============================================
  Files             39       39              
  Lines            533      536       +3     
=============================================
+ Hits             415      418       +3     
  Misses           118      118
Impacted Files Coverage Δ Complexity Δ
src/Schema/Scalars/DateTimeTz.php 100% <100%> (ø) 5 <0> (ø) :arrow_down:

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 9c223a2...a62d338. Read the comment docs.