Commit 742f14ee authored by Laurent Montel's avatar Laurent Montel 😁

Minor optimization

parent a9395be1
......@@ -32,7 +32,7 @@ using namespace Akonadi::Search;
AgePostingSource::AgePostingSource(Xapian::valueno slot_)
: Xapian::ValuePostingSource(slot_)
{
m_currentTime_t = QDateTime::currentDateTime().toTime_t();
m_currentTime_t = QDateTime::currentDateTimeUtc().toTime_t();
}
Xapian::weight AgePostingSource::get_weight() const
......
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