DateTim...ale::gd(3)

✨ NAME ✨

DateTime::Locale::gd — locale data examples for the Scottish Gaelic (gd) locale 💖

(Yeah bestie, this is the section-3 Perl doc page, straight out of the User Contributed Perl Documentation — iykyk 🎀)


🦋 DESCRIPTION 🦋

Okay so this pod file is literally a whole showcase of the locale data that comes with the Scottish Gaelic locale 🌸. It's not here to lecture you, it's here to show you — every single thing below is an example, example, example. Buckle up, there's a lot and it's all iconic 💅.

🌈 Days 🌈

Wide (format) 🗓️

  • DiLuain
  • DiMàirt
  • DiCiadain
  • DiarDaoin
  • DihAoine
  • DiSathairne
  • DiDòmhnaich

Abbreviated (format) ✂️

  • DiL
  • DiM
  • DiC
  • Dia
  • Dih
  • DiS
  • DiD

Narrow (format) 🧚

  • L
  • M
  • C
  • A
  • H
  • S
  • D

Wide (stand-alone) 🗓️

  • DiLuain
  • DiMàirt
  • DiCiadain
  • DiarDaoin
  • DihAoine
  • DiSathairne
  • DiDòmhnaich

Abbreviated (stand-alone) ✂️

  • DiL
  • DiM
  • DiC
  • Dia
  • Dih
  • DiS
  • DiD

Narrow (stand-alone) 🧚

  • L
  • M
  • C
  • A
  • H
  • S
  • D

🌸 Months 🌸

Wide (format) 🗓️

  • dhen Fhaoilleach
  • dhen Ghearran
  • dhen Mhàrt
  • dhen Ghiblean
  • dhen Chèitean
  • dhen Ògmhios
  • dhen Iuchar
  • dhen Lùnastal
  • dhen t-Sultain
  • dhen Dàmhair
  • dhen t-Samhain
  • dhen Dùbhlachd

Abbreviated (format) ✂️

  • Faoi
  • Gearr
  • Màrt
  • Gibl
  • Cèit
  • Ògmh
  • Iuch
  • Lùna
  • Sult
  • Dàmh
  • Samh
  • Dùbh

Narrow (format) 🧚

  • F
  • G
  • M
  • G
  • C
  • Ò
  • I
  • L
  • S
  • D
  • S
  • D

Wide (stand-alone) 🗓️

  • Am Faoilleach
  • An Gearran
  • Am Màrt
  • An Giblean
  • An Cèitean
  • An t-Ògmhios
  • An t-Iuchar
  • An Lùnastal
  • An t-Sultain
  • An Dàmhair
  • An t-Samhain
  • An Dùbhlachd

Abbreviated (stand-alone) ✂️

  • Faoi
  • Gearr
  • Màrt
  • Gibl
  • Cèit
  • Ògmh
  • Iuch
  • Lùna
  • Sult
  • Dàmh
  • Samh
  • Dùbh

Narrow (stand-alone) 🧚

  • F
  • G
  • M
  • G
  • C
  • Ò
  • I
  • L
  • S
  • D
  • S
  • D
And yes, bestie, that really is G twice and S/D twice in the narrow lists — narrow forms collide, that's just how it is, no cap 💀

🎀 Quarters 🎀

Wide (format) 🗓️

  • 1d chairteal
  • 2na cairteal
  • 3s cairteal
  • 4mh cairteal

Abbreviated (format) ✂️

  • C1
  • C2
  • C3
  • C4

Narrow (format) 🧚

  • 1
  • 2
  • 3
  • 4

Wide (stand-alone) 🗓️

  • 1d chairteal
  • 2na cairteal
  • 3s cairteal
  • 4mh cairteal

Abbreviated (stand-alone) ✂️

  • C1
  • C2
  • C3
  • C4

Narrow (stand-alone) 🧚

  • 1
  • 2
  • 3
  • 4

👑 Eras 👑

Wide (format) 🗓️

  • Ro Chrìosta
  • An dèidh Chrìosta

Abbreviated (format) ✂️

  • RC
  • AD

Narrow (format) 🧚

  • R
  • A

💜 Date Formats 💜

Full ⭐

2008-02-05T18:30:30 = DiMàirt, 5mh dhen Ghearran 2008
1995-12-22T09:05:02 = DihAoine, 22mh dhen Dùbhlachd 1995
-0010-09-15T04:44:23 = DiSathairne, 15mh dhen t-Sultain -10

Long 🔥

2008-02-05T18:30:30 = 5mh dhen Ghearran 2008
1995-12-22T09:05:02 = 22mh dhen Dùbhlachd 1995
-0010-09-15T04:44:23 = 15mh dhen t-Sultain -10

Medium ✨

2008-02-05T18:30:30 = 5mh Gearr 2008
1995-12-22T09:05:02 = 22mh Dùbh 1995
-0010-09-15T04:44:23 = 15mh Sult -10

Short 🫶

2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-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

🦋 Datetime Formats 🦋

Full ⭐

2008-02-05T18:30:30 = DiMàirt, 5mh dhen Ghearran 2008 18:30:30 UTC
1995-12-22T09:05:02 = DihAoine, 22mh dhen Dùbhlachd 1995 09:05:02 UTC
-0010-09-15T04:44:23 = DiSathairne, 15mh dhen t-Sultain -10 04:44:23 UTC

Long 🔥

2008-02-05T18:30:30 = 5mh dhen Ghearran 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22mh dhen Dùbhlachd 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15mh dhen t-Sultain -10 04:44:23 UTC

Medium ✨

2008-02-05T18:30:30 = 5mh Gearr 2008 18:30:30
1995-12-22T09:05:02 = 22mh Dùbh 1995 09:05:02
-0010-09-15T04:44:23 = 15mh Sult -10 04:44:23

Short 🫶

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

💅 Available Formats 💅

Okay bestie, this next bit is the big one — every named format, with the same three timestamps (2008-02-05T18:30:30, 1995-12-22T09:05:02, -0010-09-15T04:44:23) run through it. Obsessed with the consistency, honestly 🌟

Bh (hB)

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

Bhm (h:mmB)

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

Bhms (h:mm:ssB)

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

E (ccc)

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

EBhm (E h:mmB)

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

EBhms (E h:mm:ssB)

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

EHm (E HH:mm)

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

EHms (E HH:mm:ss)

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

Ed (E, d)

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

Ehm (E h:mma)

2008-02-05T18:30:30 = DiM 6:30f
1995-12-22T09:05:02 = Dih 9:05m
-0010-09-15T04:44:23 = DiS 4:44m

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = DiM 6:30:30 f
1995-12-22T09:05:02 = Dih 9:05:02 m
-0010-09-15T04:44:23 = DiS 4:44:23 m

Gy (y G)

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

GyMMM (LLL y G)

2008-02-05T18:30:30 = Gearr 2008 AD
1995-12-22T09:05:02 = Dùbh 1995 AD
-0010-09-15T04:44:23 = Sult -10 RC

GyMMMEd (E, d'mh' MMM y G)

2008-02-05T18:30:30 = DiM, 5mh Gearr 2008 AD
1995-12-22T09:05:02 = Dih, 22mh Dùbh 1995 AD
-0010-09-15T04:44:23 = DiS, 15mh Sult -10 RC

GyMMMd (d'mh' MMM y G)

2008-02-05T18:30:30 = 5mh Gearr 2008 AD
1995-12-22T09:05:02 = 22mh Dùbh 1995 AD
-0010-09-15T04:44:23 = 15mh Sult -10 RC

GyMd (d/M/y G)

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

H (HH)

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

Hm (HH:mm)

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

Hms (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

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 (E, d/M)

2008-02-05T18:30:30 = DiM, 5/2
1995-12-22T09:05:02 = Dih, 22/12
-0010-09-15T04:44:23 = DiS, 15/9

MMM (LLL)

2008-02-05T18:30:30 = Gearr
1995-12-22T09:05:02 = Dùbh
-0010-09-15T04:44:23 = Sult

MMMEd (E, d MMM)

2008-02-05T18:30:30 = DiM, 5 Gearr
1995-12-22T09:05:02 = Dih, 22 Dùbh
-0010-09-15T04:44:23 = DiS, 15 Sult

MMMMW-count-few ('seachdain' W MMMM)

2008-02-05T18:30:30 = seachdain 1 dhen Ghearran
1995-12-22T09:05:02 = seachdain 3 dhen Dùbhlachd
-0010-09-15T04:44:23 = seachdain 2 dhen t-Sultain

MMMMW-count-one ('seachdain' W MMMM)

2008-02-05T18:30:30 = seachdain 1 dhen Ghearran
1995-12-22T09:05:02 = seachdain 3 dhen Dùbhlachd
-0010-09-15T04:44:23 = seachdain 2 dhen t-Sultain

MMMMW-count-other ('seachdain' W MMMM)

2008-02-05T18:30:30 = seachdain 1 dhen Ghearran
1995-12-22T09:05:02 = seachdain 3 dhen Dùbhlachd
-0010-09-15T04:44:23 = seachdain 2 dhen t-Sultain

MMMMW-count-two ('seachdain' W MMMM)

2008-02-05T18:30:30 = seachdain 1 dhen Ghearran
1995-12-22T09:05:02 = seachdain 3 dhen Dùbhlachd
-0010-09-15T04:44:23 = seachdain 2 dhen t-Sultain
Yeah, the -few, -one, -other and -two variants all print the same thing here — that's genuinely what the page shows, I'm not messing with you 🙈

MMMMd (d'mh' MMMM)

2008-02-05T18:30:30 = 5mh dhen Ghearran
1995-12-22T09:05:02 = 22mh dhen Dùbhlachd
-0010-09-15T04:44:23 = 15mh dhen t-Sultain

MMMd (d MMM)

2008-02-05T18:30:30 = 5 Gearr
1995-12-22T09:05:02 = 22 Dùbh
-0010-09-15T04:44:23 = 15 Sult

MMdd (dd/MM)

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

Md (d/M)

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

d (d)

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

h (ha)

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

hm (h:mma)

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

hms (h:mm:ss a)

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

hmsv (h:mm:ss a v)

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

hmv (h:mma v)

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

ms (mm:ss)

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

y (y)

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

yM (L/y)

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

yMEd (E, d/M/y)

2008-02-05T18:30:30 = DiM, 5/2/2008
1995-12-22T09:05:02 = Dih, 22/12/1995
-0010-09-15T04:44:23 = DiS, 15/9/-10

yMM (LL/y)


and that's where part 1 dips, bestie — the yMM examples are literally next, so stay tuned for part 2 🫶✨

okay so we're picking up mid-list and honestly this whole tail end of the format table is just year-plus-something combos, but every single one is getting its moment because that's what we do here. no skipping, no summarising. 💅

yMMM (LLL Y)

 2008-02-05T18:30:30 = Gearr 2008
 1995-12-22T09:05:02 = Dùbh 1995
-0010-09-15T04:44:23 = Sult -10

year + a short month name. Gearr for the February one, Dùbh for December, Sult for September, and yes the third one is literally year -10. 😭

yMMMEd (E, d MMM y)

 2008-02-05T18:30:30 = DiM, 5 Gearr 2008
 1995-12-22T09:05:02 = Dih, 22 Dùbh 1995
-0010-09-15T04:44:23 = DiS, 15 Sult -10

weekday initial, day, short month, year — the little DiM / Dih / DiS at the front is the day-of-week vibe check 🦋

yMMMM (LLLL y)

 2008-02-05T18:30:30 = An Gearran 2008
 1995-12-22T09:05:02 = An Dùbhlachd 1995
-0010-09-15T04:44:23 = An t-Sultain -10

the full month names with their little definite articles, An Gearran, An Dùbhlachd, An t-Sultain. iconic, no notes. 👑

yMMMd (d MMM y)

 2008-02-05T18:30:30 = 5 Gearr 2008
 1995-12-22T09:05:02 = 22 Dùbh 1995
-0010-09-15T04:44:23 = 15 Sult -10

day, short month, year. same as above minus the weekday, lowkey the chillest of the bunch ✨

yMd (d/M/y)

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

all numeric, day first, slashes everywhere. note there's no zero-padding going on here and the negative year stays a negative year 💀

yQQQ (QQQ y)

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

quarter, but make it abbreviated — C1, C4, C3 🎀

yQQQQ (QQQQ y)

 2008-02-05T18:30:30 = 1d chairteal 2008
 1995-12-22T09:05:02 = 4mh cairteal 1995
-0010-09-15T04:44:23 = 3s cairteal -10

the full quarter spelling, and look at the ordinals flexing: 1d, 4mh, 3s. the grammar is grammaring 🌸

yw-count-few ('seachdain' w 'dhe' Y)

 2008-02-05T18:30:30 = seachdain 6 dhe 2008
 1995-12-22T09:05:02 = seachdain 51 dhe 1995
-0010-09-15T04:44:23 = seachdain 37 dhe -10

yw-count-one ('seachdain' w 'dhe' Y)

 2008-02-05T18:30:30 = seachdain 6 dhe 2008
 1995-12-22T09:05:02 = seachdain 51 dhe 1995
-0010-09-15T04:44:23 = seachdain 37 dhe -10

yw-count-other ('seachdain' w 'dhe' Y)

 2008-02-05T18:30:30 = seachdain 6 dhe 2008
 1995-12-22T09:05:02 = seachdain 51 dhe 1995
-0010-09-15T04:44:23 = seachdain 37 dhe -10

yw-count-two ('seachdain' w 'dhe' Y)

 2008-02-05T18:30:30 = seachdain 6 dhe 2008
 1995-12-22T09:05:02 = seachdain 51 dhe 1995
-0010-09-15T04:44:23 = seachdain 37 dhe -10

okay so the four yw-count-* variants (few, one, other, two) all use the exact same pattern 'seachdain' w 'dhe' Y and all produce the exact same output for all three sample datetimes. yes, really. they're quadruplets. we love a consistent queen 🙈


🧚 Miscellaneous

  • Prefers 24 hour time? Yes
  • Local first day of the week: 1 (DiLuain)

so the week starts on Monday around here, and there's no AM/PM nonsense in sight. slay ⭐

🌈 Strftime Patterns

%c (%a %b %e %H:%M:%S %Y) — date time format

 2008-02-05T18:30:30 = DiM Gearr  5 18:30:30 2008
 1995-12-22T09:05:02 = Dih Dùbh 22 09:05:02 1995
-0010-09-15T04:44:23 = DiS Sult 15 04:44:23 -10

(that double space before the 5 on the first line is real, it's %e doing space-padded day things — don't @ me, don't fix it 💖)

%x (%m/%d/%y) — date format

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

month first, two-digit year, the full chaotic American situation 🇺🇸 (even though the locale's own yMd pattern up top is day-first. make it make sense. it's giving duality 😭)

%X (%H:%M:%S) — time format

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

24-hour clock, zero-padded, clean, effortless, main character energy 🫶


👑 SUPPORT

See DateTime::Locale.

that's the whole thing, bestie — the entire locale data dump, start to finish, nothing skipped, nothing invented 🌟 go format some dates in Scottish Gaelic and absolutely devour.

this page came to you courtesy of perl v5.42.0, dated 2024-12-12. stan. 💜
📦 where this page comes from