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:

  • Afar
  • Amharic
  • Austrian
  • Brazilian
  • Chinese
  • Chinese_GB
  • Czech
  • Danish
  • Dutch
  • English
  • Finnish
  • Occitan
  • French
  • Gedeo
  • German
  • Greek
  • Hungarian
  • Icelandic
  • Italian
  • Norwegian
  • Oromo
  • Romanian
  • Russian
  • Russian_cp1251
  • Russian_koi8r
  • Sidama
  • Somali
  • Spanish
  • Swedish
  • Tigrinya
  • TigrinyaEritrean
  • TigrinyaEthiopian
  • Turkish
  • Bulgarian

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::Format
  • strftime β€” see "strftime" in Date::Format
  • ctime β€” see "ctime" in Date::Format
  • asctime β€” see "asctime" in Date::Format
  • str2time β€” see "str2time" in Date::Parse
  • strptime β€” 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