birdwatcher (birdwatcher) wrote,
birdwatcher
birdwatcher

Вычислительная география

birdwatcher@komarovo:~> perl -e 'use DateTime; print DateTime->today(locale => "en_US", time_zone => "Asia/Chita"), "\n";'
2015-04-07T00:00:00
birdwatcher@komarovo:~> perl -v
This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi


В то время как
[birdwatcher@ip-10-185-138-148 ~]$ perl -e 'use DateTime; print DateTime->today(locale => "en_US", time_zone => "Asia/Chita"), "\n";'
The timezone 'Asia/Chita' could not be loaded, or is an invalid name.
[birdwatcher@ip-10-185-138-148 ~]$ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments