Query: date::language::bulgarian
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Date::Language::Bulgarian(3) User Contributed Perl Documentation Date::Language::Bulgarian(3)NAMEDate::Language::Bulgarian - localization for Date::FormatDESCRIPTIONThis 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.SYNOPSISuse 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); }AUTHORKrasimir Berov (berov@cpan.org)COPYRIGHTCopyright (c) 2010 Krasimir Berov. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2010-12-14 Date::Language::Bulgarian(3)
Related Man Pages |
---|
date::parse(3) - redhat |
date::format(3) - osx |
date::language::bulgarian(3) - centos |
date::format(3pm) - debian |
date::parse(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
to get a line above the search word |
summery calculation |
utf8 strings in Perl |
Date Conversion on output string from awk |
Date and time difference |