DateTim...e::en_DG(3)

πŸ’– DateTim...e::en_DG(3) β€” the Perl one πŸ’–

okay bestie, gather round, because this is the locale data page for DateTime::Locale::en_DG β€” that's the English Diego Garcia (en-DG) locale, from the User Contributed Perl Documentation. yes the title is literally abbreviated with ellipses, that's just how it's listed, don't come for me πŸ’…

✨ NAME ✨

DateTime::Locale::en_DG β€” Locale data examples for the English Diego Garcia (en-DG) locale 🏝️

🌸 DESCRIPTION 🌸

so this pod file is literally just a showcase, no cap β€” it's packed with examples of the locale data available for the English Diego Garcia locale. think of it as a lookbook for dates: every format, every width, every vibe. let's go 🫢

πŸ¦‹ Days

Wide (format)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone)

M
T
W
T
F
S
S

πŸŽ€ Months

Wide (format)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (format)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
note that Sept is four letters, she's built different, don't correct her 😌

Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (stand-alone)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

πŸ’œ Quarters

Wide (format)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

⭐ Eras

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

🌈 Date Formats

Full

2008-02-05T18:30:30 = Tuesday, 5 February 2008
1995-12-22T09:05:02 = Friday, 22 December 1995
 -0010-09-15T04:44:23 = Saturday, 15 September -10

Long

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

Medium

2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
 -0010-09-15T04:44:23 = 15 Sept -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 = Tuesday, 5 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 09:05:02 UTC
 -0010-09-15T04:44:23 = Saturday, 15 September -10, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 December 1995, 09:05:02 UTC
 -0010-09-15T04:44:23 = 15 September -10, 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5 Feb 2008, 18:30:30
1995-12-22T09:05:02 = 22 Dec 1995, 09:05:02
 -0010-09-15T04:44:23 = 15 Sept -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 this is the big one, the main character section. every named format, its pattern in parens, and the three reference datetimes so you can see the glow-up in action ✨

  • Bh β€” pattern h B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
 -0010-09-15T04:44:23 = 4 B
  • Bhm β€” pattern h:mm B
2008-02-05T18:30:30 = 6:30 B
1995-12-22T09:05:02 = 9:05 B
 -0010-09-15T04:44:23 = 4:44 B
  • Bhms β€” pattern h:mm:ss B
2008-02-05T18:30:30 = 6:30:30 B
1995-12-22T09:05:02 = 9:05:02 B
 -0010-09-15T04:44:23 = 4:44:23 B
  • E β€” pattern ccc
2008-02-05T18:30:30 = Tue
1995-12-22T09:05:02 = Fri
 -0010-09-15T04:44:23 = Sat
  • EBhm β€” pattern E h:mm B
2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
 -0010-09-15T04:44:23 = Sat 4:44 B
  • EBhms β€” pattern E h:mm:ss B
2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
 -0010-09-15T04:44:23 = Sat 4:44:23 B
  • EHm β€” pattern E HH:mm
2008-02-05T18:30:30 = Tue 18:30
1995-12-22T09:05:02 = Fri 09:05
 -0010-09-15T04:44:23 = Sat 04:44
  • EHms β€” pattern E HH:mm:ss
2008-02-05T18:30:30 = Tue 18:30:30
1995-12-22T09:05:02 = Fri 09:05:02
 -0010-09-15T04:44:23 = Sat 04:44:23
  • Ed β€” pattern E d
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
 -0010-09-15T04:44:23 = Sat 15
  • Ehm β€” pattern E h:mm a
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
 -0010-09-15T04:44:23 = Sat 4:44 am
  • Ehm-alt-ascii β€” pattern E h:mm a
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
 -0010-09-15T04:44:23 = Sat 4:44 am
  • Ehms β€” pattern E h:mm:ss a
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
 -0010-09-15T04:44:23 = Sat 4:44:23 am
  • Ehms-alt-ascii β€” pattern E h:mm:ss a
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
 -0010-09-15T04:44:23 = Sat 4:44:23 am
  • Gy β€” pattern y G
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
 -0010-09-15T04:44:23 = -10 BC
  • GyMMM β€” pattern MMM y G
2008-02-05T18:30:30 = Feb 2008 AD
1995-12-22T09:05:02 = Dec 1995 AD
 -0010-09-15T04:44:23 = Sept -10 BC
  • GyMMMEd β€” pattern E, d MMM y G
2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
 -0010-09-15T04:44:23 = Sat, 15 Sept -10 BC
  • GyMMMd β€” pattern d MMM y G
2008-02-05T18:30:30 = 5 Feb 2008 AD
1995-12-22T09:05:02 = 22 Dec 1995 AD
 -0010-09-15T04:44:23 = 15 Sept -10 BC
  • GyMd β€” pattern 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 BC
  • H β€” pattern HH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
 -0010-09-15T04:44:23 = 04
  • Hm β€” pattern HH:mm
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
 -0010-09-15T04:44:23 = 04:44
  • Hms β€” pattern 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 β€” pattern 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 β€” pattern 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 β€” pattern L
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
 -0010-09-15T04:44:23 = 9
  • MEd β€” pattern E, dd/MM
2008-02-05T18:30:30 = Tue, 05/02
1995-12-22T09:05:02 = Fri, 22/12
 -0010-09-15T04:44:23 = Sat, 15/09
  • MMM β€” pattern LLL
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
 -0010-09-15T04:44:23 = Sept
  • MMMEd β€” pattern E, d MMM
2008-02-05T18:30:30 = Tue, 5 Feb
1995-12-22T09:05:02 = Fri, 22 Dec
 -0010-09-15T04:44:23 = Sat, 15 Sept
  • MMMMW-count-one β€” pattern 'week' W 'of' MMMM
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
 -0010-09-15T04:44:23 = week 2 of September
  • MMMMW-count-other β€” pattern 'week' W 'of' MMMM
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
 -0010-09-15T04:44:23 = week 2 of September
  • MMMMd β€” pattern d MMMM
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
 -0010-09-15T04:44:23 = 15 September
  • MMMd β€” pattern d MMM
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
 -0010-09-15T04:44:23 = 15 Sept
  • MMdd β€” pattern dd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
 -0010-09-15T04:44:23 = 15/09
  • Md β€” pattern dd/MM
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
 -0010-09-15T04:44:23 = 15/09
  • d β€” pattern d
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
 -0010-09-15T04:44:23 = 15
  • h β€” pattern h a
2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
 -0010-09-15T04:44:23 = 4 am
  • h-alt-ascii β€” pattern h a
2008-02-05T18:30:30 = 6 pm
1995-12-22T09:05:02 = 9 am
 -0010-09-15T04:44:23 = 4 am
  • hm β€” pattern 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
  • hm-alt-ascii β€” pattern 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 β€” pattern 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
  • hms-alt-ascii β€” pattern 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 β€” pattern 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
  • hmsv-alt-ascii β€” pattern 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 β€” pattern 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
  • hmv-alt-ascii β€” pattern 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 β€” pattern mm:ss
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
 -0010-09-15T04:44:23 = 44:23
  • y β€” pattern y
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
 -0010-09-15T04:44:23 = -10
  • yM β€” pattern MM/y

okay so picking up exactly where we left off in the pattern parade πŸ’… the little name line for this first one got eaten by the page break, but here's the trio of values, all present and accounted for:

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

yMEd β€” (E, dd/MM/y)

2008-02-05T18:30:30 = Tue, 05/02/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/09/-10

yMMM β€” (MMM y)

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

not the Sept with an S bestie, that's just how this locale rolls, iykyk 😭

yMMMEd β€” (E, d MMM y)

2008-02-05T18:30:30 = Tue, 5 Feb 2008
1995-12-22T09:05:02 = Fri, 22 Dec 1995
-0010-09-15T04:44:23 = Sat, 15 Sept -10

yMMMM β€” (MMMM y)

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

yMMMd β€” (d MMM y)

2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -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 β€” (QQQ y)

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

yQQQQ β€” (QQQQ y)

2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10

quarter names in full words?? she understood the assignment πŸ”₯

yw-count-one β€” ('week' w 'of' Y)

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

yw-count-other β€” ('week' w 'of' Y)

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

the -one and -other versions are literally twinning here, identical output, and honestly? iconic. no notes πŸ’€


🌸 MISCELLANEOUS 🌸

the lil odds and ends, the vibe check of the locale:

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

⏰ STRFTIME PATTERNS ⏰

✨ THE PATTERNS ✨

%c (%a %b %e %H:%M:%S %Y) β€” date time format

2008-02-05T18:30:30 = Tue Feb  5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sept 15 04:44:23 -10

%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

%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

heads up bestie: %c is the one with the double space in Tue Feb 5 β€” that's %e, which pads the day. do not "fix" it, it's not a typo, it's forensics πŸ”


🫢 SUPPORT 🫢

See DateTime::Locale.

that's it. that's the whole support section. go read the parent module, she has all the answers πŸ’–


and that's a wrap on this whole page, bestie 🌈 brought to you by perl v5.42.0 and dated 2024-12-12 β€” a genuine vintage. go format something gorgeous with it πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from