netgen / ezpublish-legacy

eZ Publish 4.x (legacy) kernel, maintained by Netgen for compatibility with eZ Platform
https://netgen.io
Other
4 stars 17 forks source link

Bugfix: Incorrect date/time attributes after export within the ezpkg (e.g. contentobject.xml) #41

Closed dlampe closed 11 months ago

dlampe commented 11 months ago

If, for example, content objects are exported and re-imported via the package manager, all date/time attributes are set incorrectly (e.g. in german: "Zuletzt geändert: 01.01.1970 01:00").

e.g. rfc1123Date

correct: Wed, 13 Dec 2023 08:55:04 GMT wrong: 50UTC13, 13 WedUTC2023-12-13T08:55:04+00:00 2023 08:55:04 8DecGMT

correct: Tue, 18 Sep 2018 20:00:00 GMT wrong: GMT000000UTC, 18 thUTCZ 2018 20:00:00 20SepGMT

Notes on the possible formats:

se7enxweb commented 11 months ago

Hello @dlampe

Thank you for your improvement. Give us just a day to review your changes, they look good but I'd like to test them.

Cheers, 7x

se7enxweb commented 11 months ago

Hello @dlampe

After briefly testing the process surrounding the issue I find your PR solves the issue you describe perfectly for me as well. Thank you for your contribution to making eZ Publish more reliable!

Cheers, 7x