Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Integrate mysql datetime precision. #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Integrate mysql datetime precision. #74

wants to merge 2 commits into from

Conversation

nisanov
Copy link

@nisanov nisanov commented Apr 18, 2021

Greetings,

This incorporates mysql datetime precision.

Need help cleaning this up for other database drivers if necessary.

Not sure why formatDatetime was doing what it was doing instead of just setting the timezone on the datetime instance, the code snip was required to get the datetime precision to carry over, so please advise as necessary.

Thank you.

@codecov
Copy link

codecov bot commented Apr 18, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@3a88162). Click here to learn what that means.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #74   +/-   ##
=========================================
  Coverage          ?   92.58%           
  Complexity        ?     1489           
=========================================
  Files             ?       67           
  Lines             ?     3844           
  Branches          ?        0           
=========================================
  Hits              ?     3559           
  Misses            ?      285           
  Partials          ?        0           
Impacted Files Coverage Δ Complexity Δ
src/Driver/MySQL/Schema/MySQLColumn.php 91.80% <83.33%> (ø) 22.00 <2.00> (?)
src/Driver/Driver.php 77.02% <100.00%> (ø) 90.00 <0.00> (?)

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 3a88162...132c3fe. Read the comment docs.

src/Driver/Driver.php Outdated Show resolved Hide resolved
Co-authored-by: Aleksei Gagarin <roxblnfk@ya.ru>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants