Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
9392a555
Commit
9392a555
authored
Dec 29, 2015
by
Thomas Müller
Browse files
Merge pull request #21331 from switch-ch/fix_ms_log
Fix owncloud logging with ms precision
parents
9c4ab517
7fce06b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/log/owncloud.php
View file @
9392a555
...
...
@@ -73,7 +73,7 @@ class OC_Log_Owncloud {
}
catch
(
Exception
$e
)
{
$timezone
=
new
DateTimeZone
(
'UTC'
);
}
$time
=
DateTime
::
createFromFormat
(
"U.u"
,
microtime
(
true
),
$timezone
);
$time
=
DateTime
::
createFromFormat
(
"U.u"
,
number_format
(
microtime
(
true
),
4
,
"."
,
""
),
$timezone
);
if
(
$time
===
false
)
{
$time
=
new
DateTime
(
null
,
$timezone
);
}
...
...
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