DateTim...:bss_CM(3)

๐ŸŒธ NAME ๐ŸŒธ

okay so bestie, welcome to DateTime::Locale::bss_CM(3) ๐Ÿ’… โ€” straight out of the User Contributed Perl Documentation, no cap. This is the locale data module for the Akoose Cameroon locale, aka bss-CM, and this page is literally just the receipts: every day name, month name, quarter, era, format pattern and sample output the module ships with. Obsessed. ๐ŸŽ€


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

This pod file contains examples of the locale data available for the Akoose Cameroon locale. That's it, that's the whole vibe โ€” it's a big ol' show-and-tell of what the data looks like. โœจ

๐ŸŒˆ Days

Six whole flavours of day names, because apparently one was not enough. ๐Ÿ˜Œ

Wide (format) ๐Ÿ—“๏ธ

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (format) ๐Ÿ—“๏ธ

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format) ๐Ÿ—“๏ธ

M
T
W
T
F
S
S

Wide (stand-alone) ๐Ÿ—“๏ธ

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (stand-alone) ๐Ÿ—“๏ธ

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone) ๐Ÿ—“๏ธ

M
T
W
T
F
S
S

๐ŸŒธ Months

Same energy, but for months. And yes, the wide and abbreviated ones are literally M01 through M12 โ€” iconic placeholder behaviour, we love a data dump. ๐Ÿซถ

Wide (format) ๐Ÿ“…

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (format) ๐Ÿ“…

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (format) ๐Ÿ“…

1
2
3
4
5
6
7
8
9
10
11
12

Wide (stand-alone) ๐Ÿ“…

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (stand-alone) ๐Ÿ“…

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (stand-alone) ๐Ÿ“…

1
2
3
4
5
6
7
8
9
10
11
12

๐Ÿ’œ Quarters

Six variations on four values. The math is mathing. ๐Ÿงฎ

Wide (format) ๐ŸŽ€

Q1
Q2
Q3
Q4

Abbreviated (format) ๐ŸŽ€

Q1
Q2
Q3
Q4

Narrow (format) ๐ŸŽ€

1
2
3
4

Wide (stand-alone) ๐ŸŽ€

Q1
Q2
Q3
Q4

Abbreviated (stand-alone) ๐ŸŽ€

Q1
Q2
Q3
Q4

Narrow (stand-alone) ๐ŸŽ€

1
2
3
4

๐Ÿ‘‘ Eras

Just the two, and every width gives you the exact same thing. Consistency queen. โœจ

Wide (format) โญ

BCE
CE

Abbreviated (format) โญ

BCE
CE

Narrow (format) โญ

BCE
CE

๐Ÿ“ Date Formats

Four lengths, three sample timestamps each, all shown as input = output. Copy that energy forever. ๐Ÿ’–

Note the third sample starts with a negative year โ€” -0010-09-15T04:44:23 โ€” and yes it stays negative in the output, literally just -10. ๐Ÿ˜ญ

Full ๐Ÿ—“๏ธ

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

Long ๐Ÿ—“๏ธ

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

Medium ๐Ÿ—“๏ธ

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

Short ๐Ÿ—“๏ธ

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

๐Ÿงš Time Formats

Same four lengths, and the UTC suffix shows up on Full and Long and then dips for Medium and Short. We love a dramatic exit. ๐Ÿ’€

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

Date plus time, glued together, four lengths. The gateway drug of format strings. โœจ

Full ๐ŸŒŸ

2008-02-05T18:30:30 = 2008 M02 5, Tue 18:30:30 UTC
1995-12-22T09:05:02 = 1995 M12 22, Fri 09:05:02 UTC
-0010-09-15T04:44:23 = -10 M09 15, Sat 04:44:23 UTC

Long ๐ŸŒŸ

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

Medium ๐ŸŒŸ

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

Short ๐ŸŒŸ

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

๐Ÿ’… Available Formats

okay this is the main character section, buckle up. ๐ŸŽข Every named pattern, name (pattern) style, and then the three sample timestamps doing their thing. Same three inputs every single time, so you can compare across all of them. iykyk. ๐Ÿง 

Bh (h B) ๐Ÿ”ฅ

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

Bhm (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 (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 (ccc) ๐Ÿ”ฅ

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

EBhm (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 (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 (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 (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 (d, E) ๐Ÿ”ฅ

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

Ehm (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 (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 (G y) ๐Ÿ”ฅ

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

GyMMM (G y MMM) ๐Ÿ”ฅ

2008-02-05T18:30:30 = CE 2008 M02
1995-12-22T09:05:02 = CE 1995 M12
-0010-09-15T04:44:23 = BCE -10 M09

GyMMMEd (G y MMM d, E) ๐Ÿ”ฅ

2008-02-05T18:30:30 = CE 2008 M02 5, Tue
1995-12-22T09:05:02 = CE 1995 M12 22, Fri
-0010-09-15T04:44:23 = BCE -10 M09 15, Sat

GyMMMd (G y MMM d) ๐Ÿ”ฅ

2008-02-05T18:30:30 = CE 2008 M02 5
1995-12-22T09:05:02 = CE 1995 M12 22
-0010-09-15T04:44:23 = BCE -10 M09 15

GyMd (GGGGG y-MM-dd) ๐Ÿ”ฅ

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

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 (MM-dd, E) ๐Ÿ”ฅ

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

MMM (LLL) ๐Ÿ”ฅ

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

MMMEd (MMM d, E) ๐Ÿ”ฅ

2008-02-05T18:30:30 = M02 5, Tue
1995-12-22T09:05:02 = M12 22, Fri
-0010-09-15T04:44:23 = M09 15, Sat

MMMMW-count-other ('week' W 'of' MMMM) ๐Ÿ”ฅ

2008-02-05T18:30:30 = week 1 of M02
1995-12-22T09:05:02 = week 3 of M12
-0010-09-15T04:44:23 = week 2 of M09

MMMMd (MMMM d) ๐Ÿ”ฅ

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

MMMd (MMM d) ๐Ÿ”ฅ

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

Md (MM-dd) ๐Ÿ”ฅ

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

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) ๐Ÿ”ฅ

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 (y-MM) ๐Ÿ”ฅ

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

yMEd (y-MM-dd, E) ๐Ÿ”ฅ

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

yMMM (y MMM) ๐Ÿ”ฅ

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

yMMMEd (y MMM d, E) ๐Ÿ”ฅ

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

yMMMM (y MMMM) ๐Ÿ”ฅ

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

yMMMd (y MMM d) ๐Ÿ”ฅ

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

yMd (y-MM-dd) ๐Ÿ”ฅ

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

yQQQ (y QQQ) ๐Ÿ”ฅ

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

yQQQQ (y QQQQ) ๐Ÿ”ฅ

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

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

๐Ÿง Miscellaneous

The little extras, the garnish of the locale data. ๐Ÿ“

Prefers 24 hour time? ๐Ÿ•ฐ๏ธ

Yes

Local first day of the week ๐Ÿ“†

1 (Mon)

โญ Strftime Patterns

Once more, with strftime energy โ€” the classic pattern and what it's for. ๐Ÿ’ซ

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

%x (%m/%d/%y) โ€” date format โœจ

okay so %x is the "just gimme the date, short and sweet" one โ€” it literally maps to %m/%d/%y ๐Ÿ’…

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 ๐Ÿ•ฐ๏ธ

and %X is the time twin, mapping straight to %H:%M:%S โ€” no notes, it just ate ๐ŸŽ€

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 ๐Ÿซถ

When you're lost in the sauce (or just in the locale sauce), the move is:

See DateTime::Locale.

that's the whole support section bestie, short king energy ๐Ÿ‘‘ go read that page, it's giving answers ๐Ÿ’–


and that's a wrap on this one, fr fr ๐Ÿฆ‹ huge thanks to whoever wrote all this down so the rest of us could vibe โ€” this is perl v5.42.0, dated 2024-12-12, and it lives at DateTim...:bss_CM(3) in the User Contributed Perl Documentation โœจ go forth and format your dates, ily, bye ๐Ÿ’œ

๐Ÿ“ฆ where this page comes from