Date::L...ulgarian(3)
π NAME π
Date::Language::Bulgarian β localization for Date::Format. Also, hi bestie, this is the Date::L...ulgarian(3) manual page, User Contributed Perl Documentation vibes and all π
β¨
πΈ DESCRIPTION πΈ
Okay so this module is the Bulgarian localization for Date::Format. Big important note: the module source code is in utf8. Like, literally in utf8.
All strings it outputs are in utf8 too. So itβs safe to use it currently only with English. Thatβs the vibe check for now π«Ά
When youβre using different Date::Language::* modules in the same application, you are left alone to try and convert the output. No cap, thatβs on you. This should be addresed in the future β and yes, the original says it like that π
π¦ 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);
}
π AUTHOR π
Krasimir Berov (berov@cpan.org) β icon, legend, the moment π
π 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. Slay, legally speaking π
okay bye bestie π«Ά this cute little sign-off is brought to you by perl v5.42.0, dated 2020-05-20 β periodt π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-TimeDate 2.33-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms