Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CWD
CwdDataDoctrineORMBundle
Commits
d484932c
Commit
d484932c
authored
Oct 08, 2018
by
Bernhard Schussek
Browse files
Merge branch 'feature/time-type' into 'master'
Changed LocalTimeType to TIME (6) See merge request
!2
parents
76551d0e
916728f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Type/LocalTimeType.php
View file @
d484932c
...
...
@@ -25,16 +25,14 @@ class LocalTimeType extends Type
use
ValueObjectConversion
;
use
GeneratedName
;
private
const
FORMAT
=
'Y-m-d H:i:s.u'
;
private
const
FALLBACK_FORMAT
=
'Y-m-d H:i:s'
;
private
const
FORMAT
=
'H:i:s'
;
/**
* {@inheritdoc}
*/
public
function
getSQLDeclaration
(
array
$fieldDeclaration
,
AbstractPlatform
$platform
)
{
return
'TIME
STAMP
(6)'
;
return
'TIME (6)'
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment