When saving a .po file, Lokalize writes current time into the PO-Revision-Date header field. The time itself is correct, but the timezone is wrong for DST timezones. Steps to Reproduce: 1) make sure you're in a DST timezone (in my case it's EEST +0300) 2) save a .po file Actual Results: "PO-Revision-Date: 2018-04-13 05:01+0200\n" Expected Results: "PO-Revision-Date: 2018-04-13 05:01+0300\n" Lokalize version: 2.0 Archlinux package version: lokalize 17.12.3-1 Additional Information: This is not a system configuration problem. timedatectl displays EEST +0300. git uses the correct timezone offset when saving commits.
Confirmed
Bugfix suggested https://phabricator.kde.org/D14721
Git commit e7fdea7a5c8783ac2eadd244c09ee0534653efb6 by Simon Depiets. Committed on 13/08/2018 at 01:01. Pushed by sdepiets into branch 'master'. Take into account summer time for the date offset in PO-Revision-Date Summary: Using the offsetFromUtc is more straightforward and accurate Reviewers: #localization, aacid, mlaurent, ltoscano, shaforostoff Reviewed By: #localization, aacid Tags: #localization Differential Revision: https://phabricator.kde.org/D14721 M +5 -4 src/catalog/gettextheader.cpp https://commits.kde.org/lokalize/e7fdea7a5c8783ac2eadd244c09ee0534653efb6