Package: publican
Version: 3.1.5-3
Usertags: i18nspector
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
I believe that the attached patch should fix this issue, although I
haven't tested it.
--
Jakub Wilk
--- a/lib/Publican/Translate.pm
+++ b/lib/Publican/Translate.pm
@@ -931,8 +931,7 @@
sub header {
my $self = shift;
- # my $date = UnixDate( ParseDate("today"), "%Y-%m-%d %H:%M%z" );
- my $date = DateTime->now->iso8601();
+ my $date = DateTime->now(time_zone => "local")->strftime("%Y-%m-%d %H:%M%z");
my $string = <<POT;
#