Bug 985836

Summary: dates in PO files should be in "%Y-%m-%d %H:%M%z" format
Product: [Community] Publican Reporter: Raphaël Hertzog <raphael>
Component: publicanAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1CC: aigao, jfearn, rlandman, sradvan
Target Milestone: 3.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.2.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 04:47:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Suggested patch none

Description Raphaël Hertzog 2013-07-18 10:58:08 UTC
Created attachment 775251 [details]
Suggested patch

(I'm filing this bug on behalf of Jakub Wilk <jwilk> who filed it at http://bugs.debian.org/714739)

publican generates PO files with dates like this:

POT-Creation-Date: 2012-07-29T20:56:34

This is a different format than GNU gettext tools use, e.g.:

POT-Creation-Date: 2013-07-02 12:57+0200

It would be better to follow the GNU convention here too. I'm attaching Jakub's suggested and untested patch.

Comment 2 HSS Product Manager 2013-07-18 22:37:32 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.

Comment 3 Jeff Fearn 🐞 2013-07-18 22:52:59 UTC
$ grep POT-Creation-Date pot/Book_Info.pot
"POT-Creation-Date: 2013-07-19 08:51+1000\n"

To ssh://git.fedorahosted.org/git/publican.git
   cc28d75..2d9e256  HEAD -> devel

Comment 4 Scott Radvan 2013-07-19 00:24:18 UTC
pot date now follows GNU format, eg:

"POT-Creation-Date: 2013-07-19 10:20+1000\n"

verified with publican-3.1.5-0.fc19.t61.noarch

Comment 5 Jeff Fearn 🐞 2013-08-09 04:47:28 UTC
The fix for this bug has been shipped in publican 3.2.0