Commit f0234ca7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Astyle kdelibs

parent 4f25eef3
...@@ -64,7 +64,7 @@ uint KonsoleKalendarEpoch::QDateTime2epoch(const QDateTime &dt) ...@@ -64,7 +64,7 @@ uint KonsoleKalendarEpoch::QDateTime2epoch(const QDateTime &dt)
// Compute #seconds to subtract for local timezone difference from UTC. // Compute #seconds to subtract for local timezone difference from UTC.
int offset = QDateTime::currentDateTime().toUTC().toTime_t() - int offset = QDateTime::currentDateTime().toUTC().toTime_t() -
QDateTime::currentDateTime().toTime_t(); QDateTime::currentDateTime().toTime_t();
return dt.toTime_t() - offset; return dt.toTime_t() - offset;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment