Date::Language(3)
πΈ Date::Language π
okay bestie, so this is Date::Language, a Perl module β and honestly it's giving very much "multilingual queen" energy. No cap.
β¨ SYNOPSIS β¨
Like, here's the whole vibe in four lines, copy it exactly okay:
use Date::Language;
my $lang = Date::Language->new('German');
$lang->time2str("%a %b %e %T %Y\n", time);
π¦ DESCRIPTION π¦
So what does Date::Language actually do? It hands you objects that parse and format dates for specific languages β like, each language gets its own little main character object and it just knows how to talk about time in that language. That's the whole thing, and she ate. π₯
The available languages are, and yes I'm listing every single one because we don't skip:
AfarAmharicAustrianBrazilianChineseChinese_GBCzechDanishDutchEnglishFinnishOccitanFrenchGedeoGermanGreekHungarianIcelandicItalianNorwegianOromoRomanianRussianRussian_cp1251Russian_koi8rSidamaSomaliSpanishSwedishTigrinyaTigrinyaEritreanTigrinyaEthiopianTurkishBulgarian
thirty-four languages, periodt π
π METHODS π
ngl the methods section is literally just a bunch of "go read the other doc" links and honestly? iconic minimalism. π Every one of these points you somewhere else, so keep that in mind:
time2strβ see"time2str"in Date::Formatstrftimeβ see"strftime"in Date::Formatctimeβ see"ctime"in Date::Formatasctimeβ see"asctime"in Date::Formatstr2timeβ see"str2time"in Date::Parsestrptimeβ see"strptime"in Date::Parse
lowkey the whole METHODS section is a "go ask my friend" moment and I respect it π«Ά β if you want the actual details, those other pages are where the lore lives.
okay that's the whole page, bestie β mwah π this was perl v5.42.0, dated 2020-05-20, and it's the Date::Language(3) page, so go forth and format dates in thirty-four languages like the multilingual icon you are π§ββοΈβ
π¦ 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