DateTim...ale::hy(3)

✨ DateTime::Locale::hy(3) ✨

the Armenian (hy) locale, bestie — from the User Contributed Perl Documentation crew 🫶


💖 NAME 💖

DateTime::Locale::hy — locale data examples for the Armenian (hy) locale. periodt.


🌸 DESCRIPTION 🌸

okay so this pod file is literally a whole show-and-tell of the locale data you get for the Armenian locale — every example, all lined up, no gatekeeping 💅


🎀 Days 🎀

Wide (format)

երկուշաբթի
երեքշաբթի
չորեքշաբթի
հինգշաբթի
ուրբաթ
շաբաթ
կիրակի

Abbreviated (format)

երկ
երք
չրք
հնգ
ուր
շբթ
կիր

Narrow (format)

Ե
Ե
Չ
Հ
Ո
Շ
Կ

Wide (stand-alone)

երկուշաբթի
երեքշաբթի
չորեքշաբթի
հինգշաբթի
ուրբաթ
շաբաթ
կիրակի

Abbreviated (stand-alone)

երկ
երք
չրք
հնգ
ուր
շբթ
կիր

Narrow (stand-alone)

Ե
Ե
Չ
Հ
Ո
Շ
Կ
yes the narrow ones repeat (Ե twice, ngl) — that's not a typo, that's literally the data, iykyk 👀

🦋 Months 🦋

Wide (format)

հունվարի
փետրվարի
մարտի
ապրիլի
մայիսի
հունիսի
հուլիսի
օգոստոսի
սեպտեմբերի
հոկտեմբերի
նոյեմբերի
դեկտեմբերի

Abbreviated (format)

հնվ
փտվ
մրտ
ապր
մյս
հնս
հլս
օգս
սեպ
հոկ
նոյ
դեկ

Narrow (format)

Հ
Փ
Մ
Ա
Մ
Հ
Հ
Օ
Ս
Հ
Ն
Դ

Wide (stand-alone)

հունվար
փետրվար
մարտ
ապրիլ
մայիս
հունիս
հուլիս
օգոստոս
սեպտեմբեր
հոկտեմբեր
նոյեմբեր
դեկտեմբեր

Abbreviated (stand-alone)

հնվ
փտվ
մրտ
ապր
մյս
հնս
հլս
օգս
սեպ
հոկ
նոյ
դեկ

Narrow (stand-alone)

Հ
Փ
Մ
Ա
Մ
Հ
Հ
Օ
Ս
Հ
Ն
Դ
the way format vs stand-alone hits different in Armenian — the format version has that extra ի ending, and it's giving grammar 💅

🌈 Quarters 🌈

Wide (format)

1-ին եռամսյակ
2-րդ եռամսյակ
3-րդ եռամսյակ
4-րդ եռամսյակ

Abbreviated (format)

1-ին եռմս.
2-րդ եռմս.
3-րդ եռմս.
4-րդ եռմս.

Narrow (format)

1
2
3
4

Wide (stand-alone)

1-ին եռամսյակ
2-րդ եռամսյակ
3-րդ եռամսյակ
4-րդ եռամսյակ

Abbreviated (stand-alone)

1-ին եռմս.
2-րդ եռմս.
3-րդ եռմս.
4-րդ եռմս.

Narrow (stand-alone)

1
2
3
4

⭐ Eras ⭐

Wide (format)

Քրիստոսից առաջ
Քրիստոսից հետո

Abbreviated (format)

մ.թ.ա.
մ.թ.

Narrow (format)

մ.թ.ա.
մ.թ.

💜 Date Formats 💜

Full

2008-02-05T18:30:30 = 2008 թ. փետրվարի 5, երեքշաբթի
1995-12-22T09:05:02 = 1995 թ. դեկտեմբերի 22, ուրբաթ
-0010-09-15T04:44:23 = -10 թ. սեպտեմբերի 15, շաբաթ

Long

2008-02-05T18:30:30 = 05 փետրվարի, 2008 թ.
1995-12-22T09:05:02 = 22 դեկտեմբերի, 1995 թ.
-0010-09-15T04:44:23 = 15 սեպտեմբերի, -10 թ.

Medium

2008-02-05T18:30:30 = 05 փտվ, 2008 թ.
1995-12-22T09:05:02 = 22 դեկ, 1995 թ.
-0010-09-15T04:44:23 = 15 սեպ, -10 թ.

Short

2008-02-05T18:30:30 = 05.02.08
1995-12-22T09:05:02 = 22.12.95
-0010-09-15T04:44:23 = 15.09.-10

🧚 Time Formats 🧚

Full

2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

Long

2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

Short

2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
lowkey obsessed that Full and Long are literally identical here — the data said "same vibe" and meant it 😭

🍓 Datetime Formats 🍓

Full

2008-02-05T18:30:30 = 2008 թ. փետրվարի 5, երեքշաբթի, 18:30:30 UTC
1995-12-22T09:05:02 = 1995 թ. դեկտեմբերի 22, ուրբաթ, 09:05:02 UTC
-0010-09-15T04:44:23 = -10 թ. սեպտեմբերի 15, շաբաթ, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 05 փետրվարի, 2008 թ., 18:30:30 UTC
1995-12-22T09:05:02 = 22 դեկտեմբերի, 1995 թ., 09:05:02 UTC
-0010-09-15T04:44:23 = 15 սեպտեմբերի, -10 թ., 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 05 փտվ, 2008 թ., 18:30:30
1995-12-22T09:05:02 = 22 դեկ, 1995 թ., 09:05:02
-0010-09-15T04:44:23 = 15 սեպ, -10 թ., 04:44:23

Short

2008-02-05T18:30:30 = 05.02.08, 18:30
1995-12-22T09:05:02 = 22.12.95, 09:05
-0010-09-15T04:44:23 = 15.09.-10, 04:44

👑 Available Formats 👑

okay this is the big one, the main character section — every named format, its pattern in the parens, and all three example timestamps 💖

Bh (B h-ին)

2008-02-05T18:30:30 = B 6-ին
1995-12-22T09:05:02 = B 9-ին
-0010-09-15T04:44:23 = B 4-ին

Bhm (B h:mm-ին)

2008-02-05T18:30:30 = B 6:30-ին
1995-12-22T09:05:02 = B 9:05-ին
-0010-09-15T04:44:23 = B 4:44-ին

Bhms (B h:mm:ss)

2008-02-05T18:30:30 = B 6:30:30
1995-12-22T09:05:02 = B 9:05:02
-0010-09-15T04:44:23 = B 4:44:23

E (ccc)

2008-02-05T18:30:30 = երք
1995-12-22T09:05:02 = ուր
-0010-09-15T04:44:23 = շբթ

EBhm (E B h:mm-ին)

2008-02-05T18:30:30 = երք B 6:30-ին
1995-12-22T09:05:02 = ուր B 9:05-ին
-0010-09-15T04:44:23 = շբթ B 4:44-ին

EBhms (E B h:mm:ss)

2008-02-05T18:30:30 = երք B 6:30:30
1995-12-22T09:05:02 = ուր B 9:05:02
-0010-09-15T04:44:23 = շբթ B 4:44:23

EHm (E, HH:mm)

2008-02-05T18:30:30 = երք, 18:30
1995-12-22T09:05:02 = ուր, 09:05
-0010-09-15T04:44:23 = շբթ, 04:44

EHms (E, HH:mm:ss)

2008-02-05T18:30:30 = երք, 18:30:30
1995-12-22T09:05:02 = ուր, 09:05:02
-0010-09-15T04:44:23 = շբթ, 04:44:23

Ed (d, ccc)

2008-02-05T18:30:30 = 5, երք
1995-12-22T09:05:02 = 22, ուր
-0010-09-15T04:44:23 = 15, շբթ

Ehm (E, h:mm a)

2008-02-05T18:30:30 = երք, 6:30 PM
1995-12-22T09:05:02 = ուր, 9:05 AM
-0010-09-15T04:44:23 = շբթ, 4:44 AM

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = երք, 6:30:30 PM
1995-12-22T09:05:02 = ուր, 9:05:02 AM
-0010-09-15T04:44:23 = շբթ, 4:44:23 AM

Gy (G y թ.)

2008-02-05T18:30:30 = մ.թ. 2008 թ.
1995-12-22T09:05:02 = մ.թ. 1995 թ.
-0010-09-15T04:44:23 = մ.թ.ա. -10 թ.

GyMMM (G y թ. MMM)

2008-02-05T18:30:30 = մ.թ. 2008 թ. փտվ
1995-12-22T09:05:02 = մ.թ. 1995 թ. դեկ
-0010-09-15T04:44:23 = մ.թ.ա. -10 թ. սեպ

GyMMMEd (G y թ. MMM d, E)

2008-02-05T18:30:30 = մ.թ. 2008 թ. փտվ 5, երք
1995-12-22T09:05:02 = մ.թ. 1995 թ. դեկ 22, ուր
-0010-09-15T04:44:23 = մ.թ.ա. -10 թ. սեպ 15, շբթ

GyMMMd (G y թ․ MMM d)

2008-02-05T18:30:30 = մ.թ. 2008 թ․ փտվ 5
1995-12-22T09:05:02 = մ.թ. 1995 թ․ դեկ 22
-0010-09-15T04:44:23 = մ.թ.ա. -10 թ․ սեպ 15

GyMd (dd.MM.y GGGGG)

2008-02-05T18:30:30 = 05.02.2008 մ.թ.
1995-12-22T09:05:02 = 22.12.1995 մ.թ.
-0010-09-15T04:44:23 = 15.09.-10 մ.թ.ա.

H (H)

2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 9
-0010-09-15T04:44:23 = 4

Hm (H:mm)

2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4:44

Hms (H:mm:ss)

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4:44:23

Hmsv (HH:mm:ss v)

2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

Hmv (HH:mm v)

2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 09:05 UTC
-0010-09-15T04:44:23 = 04:44 UTC

M (L)

2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9

MEd (dd.MM, E)

2008-02-05T18:30:30 = 05.02, երք
1995-12-22T09:05:02 = 22.12, ուր
-0010-09-15T04:44:23 = 15.09, շբթ

MMM (LLL)

2008-02-05T18:30:30 = փտվ
1995-12-22T09:05:02 = դեկ
-0010-09-15T04:44:23 = սեպ

MMMEd (d MMM, E)

2008-02-05T18:30:30 = 5 փտվ, երք
1995-12-22T09:05:02 = 22 դեկ, ուր
-0010-09-15T04:44:23 = 15 սեպ, շբթ

MMMMW-count-one (MMMM W-ին շաբաթ)

2008-02-05T18:30:30 = փետրվարի 1-ին շաբաթ
1995-12-22T09:05:02 = դեկտեմբերի 3-ին շաբաթ
-0010-09-15T04:44:23 = սեպտեմբերի 2-ին շաբաթ

MMMMW-count-other (MMMM W-րդ շաբաթ)

2008-02-05T18:30:30 = փետրվարի 1-րդ շաբաթ
1995-12-22T09:05:02 = դեկտեմբերի 3-րդ շաբաթ
-0010-09-15T04:44:23 = սեպտեմբերի 2-րդ շաբաթ

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 փետրվարի
1995-12-22T09:05:02 = 22 դեկտեմբերի
-0010-09-15T04:44:23 = 15 սեպտեմբերի

MMMd (d MMM)

2008-02-05T18:30:30 = 5 փտվ
1995-12-22T09:05:02 = 22 դեկ
-0010-09-15T04:44:23 = 15 սեպ

Md (dd.MM)

2008-02-05T18:30:30 = 05.02
1995-12-22T09:05:02 = 22.12
-0010-09-15T04:44:23 = 15.09

d (d)

2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15

h (h a)

2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM UTC

ms (mm:ss)

okay so we're still deep in the pattern list and honestly? it's giving alphabet soup energy 💅 every block below is a pattern name followed by what it spits out for the same three timestamps — 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23. yes that last one is a negative year, no i am not okay either 😭

first up, the tail end of a block that got cut off at the top of this part (its label is chilling back in part 1, don't @ me):

2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23

y (just the year, icon behaviour, no notes)

2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10

yM → MM.y

2008-02-05T18:30:30 = 02.2008
1995-12-22T09:05:02 = 12.1995
-0010-09-15T04:44:23 = 09.-10

yMEd → d.MM.y թ., E

2008-02-05T18:30:30 = 5.02.2008 թ., երք
1995-12-22T09:05:02 = 22.12.1995 թ., ուր
-0010-09-15T04:44:23 = 15.09.-10 թ., շբթ

yMMM → y թ. LLL

2008-02-05T18:30:30 = 2008 թ. փտվ
1995-12-22T09:05:02 = 1995 թ. դեկ
-0010-09-15T04:44:23 = -10 թ. սեպ

yMMMEd → y թ. MMM d, E

2008-02-05T18:30:30 = 2008 թ. փտվ 5, երք
1995-12-22T09:05:02 = 1995 թ. դեկ 22, ուր
-0010-09-15T04:44:23 = -10 թ. սեպ 15, շբթ

yMMMM → y թ․ LLLL (and yes, that little mark after թ is a different character than the one in yMMM — i see it, you see it, the locale sees it 🙈 keep it exactly as written)

2008-02-05T18:30:30 = 2008 թ․ փետրվար
1995-12-22T09:05:02 = 1995 թ․ դեկտեմբեր
-0010-09-15T04:44:23 = -10 թ․ սեպտեմբեր

yMMMd → d MMM, y թ.

2008-02-05T18:30:30 = 5 փտվ, 2008 թ.
1995-12-22T09:05:02 = 22 դեկ, 1995 թ.
-0010-09-15T04:44:23 = 15 սեպ, -10 թ.

yMd → dd.MM.y

2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-10

yQQQ → y թ. QQQ

2008-02-05T18:30:30 = 2008 թ. 1-ին եռմս.
1995-12-22T09:05:02 = 1995 թ. 4-րդ եռմս.
-0010-09-15T04:44:23 = -10 թ. 3-րդ եռմս.

yQQQQ → y թ. QQQQ

2008-02-05T18:30:30 = 2008 թ. 1-ին եռամսյակ
1995-12-22T09:05:02 = 1995 թ. 4-րդ եռամսյակ
-0010-09-15T04:44:23 = -10 թ. 3-րդ եռամսյակ

yw-count-one → Y թ․ w-ին շաբաթ

2008-02-05T18:30:30 = 2008 թ․ 6-ին շաբաթ
1995-12-22T09:05:02 = 1995 թ․ 51-ին շաբաթ
-0010-09-15T04:44:23 = -10 թ․ 37-ին շաբաթ

yw-count-other → Y թ․ w-րդ շաբաթ

2008-02-05T18:30:30 = 2008 թ․ 6-րդ շաբաթ
1995-12-22T09:05:02 = 1995 թ․ 51-րդ շաբաթ
-0010-09-15T04:44:23 = -10 թ․ 37-րդ շաբաթ

✨ Miscellaneous ✨

the little odds and ends, the garnish of the locale, if you will 🎀

  • Prefers 24 hour time? — Yes. a whole entire yes. 24h girlies stay winning 👑
  • Local first day of the week — 1 (երկուշաբթի)

🌸 Strftime Patterns 🌸

okay so these are the classic strftime-style patterns, and each one has its format in parens plus the three timestamp receipts 🧾

  • %c (%a %b %e %H:%M:%S %Y) — date time format
  • %x (%m/%d/%y) — date format
  • %X (%H:%M:%S) — time format

and their outputs, verbatim, because we do not fudge the data bestie 💅

%c:

2008-02-05T18:30:30 = երք փտվ  5 18:30:30 2008
1995-12-22T09:05:02 = ուր դեկ 22 09:05:02 1995
-0010-09-15T04:44:23 = շբթ սեպ 15 04:44:23 -10
that double space before the 5 in the first line is not a typo on my part — it's %e, which pads. it stays. periodt. 🫶

%x:

2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10

%X:

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

💜 SUPPORT 💜

literally one line, lowkey the most chill support section ever:

See DateTime::Locale.

that's it. that's the support. go read that one, it's got the whole lore 🌈


and that's a wrap on the hy locale, bestie!! this page is from perl v5.42.0, dated 2024-12-12 — bookmark it, cite it, send it to the group chat, whatever ✨ 🦋 slay responsibly 💖

📦 where this page comes from