Perl DateTime::Calendar::FrenchRevolutionary

Perl: Unescaped left brace in regex is deprecated

# perl -MDateTime::Calendar::FrenchRevolutionary -le "print DateTime::Calendar::FrenchRevolutionary->now->strftime('%c')"
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/
                %([EO]?([*%a-zA-Z]))
              | %{ <-- HERE (\w+)}
             / at /usr/local/lib64/perl5/5.22.2/DateTime/Calendar/FrenchRevolutionary.pm line 670, <DATA> line 1.
Pri 01 Vnd 0225 1:84:19

Perl DateTime::Calendar::FrenchRevolutionary timezone problem

Right now, in my timezone, it 18:15 (UTC+8:00).

$ date
Thu 11 Feb 18:15:36 CST 2016

The local decimal time is 7:58.
However, if I do either of the following, I get the GMT (or Paris?) decimal time:

$ perl -MDateTime::Calendar::FrenchRevolutionary -le 'print DateTime::Calendar::FrenchRevolutionary->now->strftime("%c")'
Tri 23 Plu 0224 4:27:05
$t=`date +%s` ; perl -MDateTime::Calendar::FrenchRevolutionary -le "print DateTime::Calendar::FrenchRevolutionary->from_epoch(epoch => $t)->strftime('%c')"
Tri 23 Plu 0224 4:27:11

Syndicate content