table of contents
- Tumbleweed 2.340.0-1.1
- Leap-16.0
- Leap-15.6
| Date::Language::Bulgarian(3) | User Contributed Perl Documentation | Date::Language::Bulgarian(3) |
NAME¶
Date::Language::Bulgarian - Bulgarian localization for Date::Format
VERSION¶
version 2.34
SYNOPSIS¶
use strict;
use warnings;
use Date::Language;
local $\=$/;
my $template ='%a %b %e %T %Y (%Y-%m-%d %H:%M:%S)';
my $time=1290883821; #or just use time();
my @lt = localtime($time);
my %languages = qw(English GMT German EEST Bulgarian EET);
binmode(select,':utf8');
foreach my $l(keys %languages){
my $lang = Date::Language->new($l);
my $zone = $languages{$l};
print $/. "$l $zone";
print $lang->time2str($template, $time);
print $lang->time2str($template, $time, $zone);
print $lang->strftime($template, \@lt);
}
DESCRIPTION¶
This is Bulgarian localization for Date::Format. It is important to note that this module source code is in utf8. All strings which it outputs are in utf8, so it is safe to use it currently only with English. You are left alone to try and convert the output when using different Date::Language::* in the same application. This should be addresed in the future.
NAME¶
Date::Language::Bulgarian - localization for Date::Format
AUTHOR¶
Krasimir Berov (berov@cpan.org)
COPYRIGHT¶
Copyright (c) 2010 Krasimir Berov. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR¶
Graham <gbarr@pobox.com>
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2020 by Graham Barr.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| 2026-02-28 | perl v5.42.0 |