Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Calendar Tools
Commits
f0234ca7
Commit
f0234ca7
authored
Jul 26, 2016
by
Laurent Montel
Browse files
Astyle kdelibs
parent
4f25eef3
Changes
1
Hide whitespace changes
Inline
Side-by-side
konsolekalendar/konsolekalendarepoch.cpp
View file @
f0234ca7
...
...
@@ -64,7 +64,7 @@ uint KonsoleKalendarEpoch::QDateTime2epoch(const QDateTime &dt)
// Compute #seconds to subtract for local timezone difference from UTC.
int
offset
=
QDateTime
::
currentDateTime
().
toUTC
().
toTime_t
()
-
QDateTime
::
currentDateTime
().
toTime_t
();
QDateTime
::
currentDateTime
().
toTime_t
();
return
dt
.
toTime_t
()
-
offset
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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