DateTim...ale::qu(3)
π NAME π
Okay bestie, so this is DateTime::Locale::qu, section 3 of the manual (the header reads DateTim...ale::qu(3) because terminals like to truncate, and it's filed under User Contributed Perl Documentation). π«Ά
TL;DR: it's the locale data examples for the Quechua (qu) locale. β¨
πΈ DESCRIPTION πΈ
This pod file is literally just a pile of examples showing what locale data is available for the Quechua locale. No cap β it's a show-and-tell of every date/time string the qu locale can spit out. π
π¦ Days π¦
Wide (format)
Lunes
Martes
MiΓ©rcoles
Jueves
Viernes
SΓ‘bado
Domingo
Abbreviated (format)
Lun
Mar
MiΓ©
Jue
Vie
Sab
Dom
Narrow (format)
L
M
X
J
V
S
D
Wide (stand-alone)
Same energy as wide format, just standing on its own π
Lunes
Martes
MiΓ©rcoles
Jueves
Viernes
SΓ‘bado
Domingo
Abbreviated (stand-alone)
Lun
Mar
MiΓ©
Jue
Vie
Sab
Dom
Narrow (stand-alone)
L
M
X
J
V
S
D
π Months π
Wide (format)
Enero
Febrero
Marzo
Abril
Mayo
Junio
Julio
Agosto
Setiembre
Octubre
Noviembre
Diciembre
Abbreviated (format)
Ene
Feb
Mar
Abr
May
Jun
Jul
Ago
Set
Oct
Nov
Dic
Narrow (format)
Bestie, the narrow months are literally just the numbers 1 through 12. Iconic minimalism. π
1
2
3
4
5
6
7
8
9
10
11
12
Wide (stand-alone)
Enero
Febrero
Marzo
Abril
Mayo
Junio
Julio
Agosto
Setiembre
Octubre
Noviembre
Diciembre
Abbreviated (stand-alone)
Ene
Feb
Mar
Abr
May
Jun
Jul
Ago
Set
Oct
Nov
Dic
Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
π Quarters π
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 π
Wide (format)
Γ±awpa cristu
chanta cristu
Abbreviated (format)
a.d.
d.C.
Narrow (format)
Heads up: the narrow ones are not identical to the abbreviated ones β check the second one, no trailing dot π
a.d.
dC
β Date Formats β
Every line below is input = output, so you can see exactly what gets rendered. Note the year -10 and how it's written β that's not a typo, that's the data. π«Ά
Full
2008-02-05T18:30:30 = Martes, 5 Febrero, 2008
1995-12-22T09:05:02 = Viernes, 22 Diciembre, 1995
-0010-09-15T04:44:23 = SΓ‘bado, 15 Setiembre, -10
Long
2008-02-05T18:30:30 = 5 Febrero 2008
1995-12-22T09:05:02 = 22 Diciembre 1995
-0010-09-15T04:44:23 = 15 Setiembre -10
Medium
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dic 1995
-0010-09-15T04:44:23 = 15 Set -10
Short
2008-02-05T18:30:30 = 5/2/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/9/-10
π§ Time Formats π§
Lowkey the cutest part: the full and long ones tack a UTC onto the end, and the medium and short ones justβ¦ don't. Keep that in mind. π
Full
2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC
Long
2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC
Medium
2008-02-05T18:30:30 = 6:30:30 p.m.
1995-12-22T09:05:02 = 9:05:02 a.m.
-0010-09-15T04:44:23 = 4:44:23 a.m.
Short
2008-02-05T18:30:30 = 6:30 p.m.
1995-12-22T09:05:02 = 9:05 a.m.
-0010-09-15T04:44:23 = 4:44 a.m.
π₯ Datetime Formats π₯
Date + time, glued together. Watch how Long flips the order (time first, then date) β main character energy only. π
Full
2008-02-05T18:30:30 = Martes, 5 Febrero, 2008 6:30:30 p.m. UTC
1995-12-22T09:05:02 = Viernes, 22 Diciembre, 1995 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = SΓ‘bado, 15 Setiembre, -10 4:44:23 a.m. UTC
Long
2008-02-05T18:30:30 = 6:30:30 p.m. UTC 5 Febrero 2008
1995-12-22T09:05:02 = 9:05:02 a.m. UTC 22 Diciembre 1995
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC 15 Setiembre -10
Medium
2008-02-05T18:30:30 = 5 Feb 2008 6:30:30 p.m.
1995-12-22T09:05:02 = 22 Dic 1995 9:05:02 a.m.
-0010-09-15T04:44:23 = 15 Set -10 4:44:23 a.m.
Short
2008-02-05T18:30:30 = 5/2/08 6:30 p.m.
1995-12-22T09:05:02 = 22/12/95 9:05 a.m.
-0010-09-15T04:44:23 = 15/9/-10 4:44 a.m.
π Available Formats π
This is the big ol' catalogue β each heading is key (pattern) and under it you get the three rendered examples. Same three timestamps every time so you can compare, periodt. π
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 = Mar
1995-12-22T09:05:02 = Vie
-0010-09-15T04:44:23 = Sab
EBhm (E h:mm B)
2008-02-05T18:30:30 = Mar 6:30 B
1995-12-22T09:05:02 = Vie 9:05 B
-0010-09-15T04:44:23 = Sab 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Mar 6:30:30 B
1995-12-22T09:05:02 = Vie 9:05:02 B
-0010-09-15T04:44:23 = Sab 4:44:23 B
EHm (E HH:mm)
24-hour clock hours, still with the weekday out front. π
2008-02-05T18:30:30 = Mar 18:30
1995-12-22T09:05:02 = Vie 09:05
-0010-09-15T04:44:23 = Sab 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Mar 18:30:30
1995-12-22T09:05:02 = Vie 09:05:02
-0010-09-15T04:44:23 = Sab 04:44:23
Ed (d, E)
2008-02-05T18:30:30 = 5, Mar
1995-12-22T09:05:02 = 22, Vie
-0010-09-15T04:44:23 = 15, Sab
Ehm (E h:mm a)
2008-02-05T18:30:30 = Mar 6:30 p.m.
1995-12-22T09:05:02 = Vie 9:05 a.m.
-0010-09-15T04:44:23 = Sab 4:44 a.m.
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Mar 6:30:30 p.m.
1995-12-22T09:05:02 = Vie 9:05:02 a.m.
-0010-09-15T04:44:23 = Sab 4:44:23 a.m.
Gy (G y)
Era + year. And yes, that -10 for the last one is real. π
2008-02-05T18:30:30 = d.C. 2008
1995-12-22T09:05:02 = d.C. 1995
-0010-09-15T04:44:23 = a.d. -10
GyMMM (G MMM y)
2008-02-05T18:30:30 = d.C. Feb 2008
1995-12-22T09:05:02 = d.C. Dic 1995
-0010-09-15T04:44:23 = a.d. Set -10
GyMMMEd (E, d MMM, y G)
2008-02-05T18:30:30 = Mar, 5 Feb, 2008 d.C.
1995-12-22T09:05:02 = Vie, 22 Dic, 1995 d.C.
-0010-09-15T04:44:23 = Sab, 15 Set, -10 a.d.
GyMMMd (G d MMM, y)
2008-02-05T18:30:30 = d.C. 5 Feb, 2008
1995-12-22T09:05:02 = d.C. 22 Dic, 1995
-0010-09-15T04:44:23 = a.d. 15 Set, -10
GyMd (G d/M/y)
2008-02-05T18:30:30 = d.C. 5/2/2008
1995-12-22T09:05:02 = d.C. 22/12/1995
-0010-09-15T04:44:23 = a.d. 15/9/-10
H (HH)
Just the hour, zero-padded, 24-hour. Slay. β¨
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)
The v gives you the time zone name β here it's UTC. π
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)
Month number, no padding. Note it's 9, not 09. π«Ά
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, Mar
1995-12-22T09:05:02 = 12-22, Vie
-0010-09-15T04:44:23 = 09-15, Sab
MMM (LLL)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dic
-0010-09-15T04:44:23 = Set
MMMEd (E, d MMM)
2008-02-05T18:30:30 = Mar, 5 Feb
1995-12-22T09:05:02 = Vie, 22 Dic
-0010-09-15T04:44:23 = Sab, 15 Set
MMMMW-count-other (W 'semana' MMMM 'killapa')
Okay this one is the vibe π
β it's the week-of-month format, and it carries the literal words semana and killapa around the month name.
2008-02-05T18:30:30 = 1 semana Febrero killapa
1995-12-22T09:05:02 = 3 semana Diciembre killapa
-0010-09-15T04:44:23 = 2 semana Setiembre killapa
MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 Febrero
1995-12-22T09:05:02 = 22 Diciembre
-0010-09-15T04:44:23 = 15 Setiembre
MMMd (d MMM)
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dic
-0010-09-15T04:44:23 = 15 Set
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)
12-hour hour + the a.m./p.m. marker. πΈ
2008-02-05T18:30:30 = 6 p.m.
1995-12-22T09:05:02 = 9 a.m.
-0010-09-15T04:44:23 = 4 a.m.
hm (h:mm a)
2008-02-05T18:30:30 = 6:30 p.m.
1995-12-22T09:05:02 = 9:05 a.m.
-0010-09-15T04:44:23 = 4:44 a.m.
hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 p.m.
1995-12-22T09:05:02 = 9:05:02 a.m.
-0010-09-15T04:44:23 = 4:44:23 a.m.
hmsv (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC
hmv (h:mm a v)
2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.m. UTC
ms (mm:ss)
Minutes and seconds only, no hours invited to the party. π
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 (E, dd-MM-y)
That last one gives you 15-09--10 β double dash and all. Not a glitch, bestie, that's the data. π
2008-02-05T18:30:30 = Mar, 05-02-2008
1995-12-22T09:05:02 = Vie, 22-12-1995
-0010-09-15T04:44:23 = Sab, 15-09--10
yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dic 1995
-0010-09-15T04:44:23 = Set -10
yMMMEd (E, d MMM, y)
2008-02-05T18:30:30 = Mar, 5 Feb, 2008
1995-12-22T09:05:02 = Vie, 22 Dic, 1995
-0010-09-15T04:44:23 = Sab, 15 Set, -10
yMMMM (MMMM y)
2008-02-05T18:30:30 = Febrero 2008
1995-12-22T09:05:02 = Diciembre 1995
-0010-09-15T04:44:23 = Setiembre -10
yMMMd (d MMM y)
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dic 1995
-0010-09-15T04:44:23 = 15 Set -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 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
yQQQQ (y QQQQ)
β¦and that's exactly where part 1 hands the aux off to part 2, bestie π§π
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
okay and before you ask β yes, -0010 is a real year and yes it renders as -10, negative years are just out here living their truth π
π§ yw-count-other (w 'semana' Y 'watapa') π§
this one's the week-of-year counter, and it's lowkey the cutest pattern on the whole page because it literally spells it out with words instead of numbers. semana = week, watapa = year, no cap πΈ
2008-02-05T18:30:30 = 6 semana 2008 watapa
1995-12-22T09:05:02 = 51 semana 1995 watapa
-0010-09-15T04:44:23 = 37 semana -10 watapa
crying in week 51 π December really said "last stretch era" and meant it.
π Miscellaneous π
the little odds and ends that didn't fit anywhere else, aka the vibe check corner:
- Prefers 24 hour time? β No. she said "12-hour girlie forever", morning/evening girlies rise π«Ά
- Local first day of the week β
1(Lunes). Monday is the main character here, as she should be π
β¨ Strftime Patterns β¨
the strftime-flavoured shortcuts, i.e. the pre-bundled combo patterns so you don't have to stitch %a %b %e together yourself like some kind of peasant π
%c (%a %b %e %H:%M:%S %Y) β date time format
the whole shebang in one go, date and time, and it's giving "just tell me everything":
2008-02-05T18:30:30 = Mar Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Vie Dic 22 09:05:02 1995
-0010-09-15T04:44:23 = Sab Set 15 04:44:23 -10
note the double space before 5 in the first line β that's %e, it pads with a space, it's not a typo, don't come for me π
%x (%m/%d/%y) β date format
just the date, month first, %y two-digit year and all:
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
and yeah, that last one is 09/15/10 for the year -0010 β two-digit years are chaotic like that, it is what it is π
%X (%H:%M:%S) β time format
just the clock, 24-hour, very demure, very mindful:
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 π«Ά
need more? go see DateTime::Locale. that's the plug, that's the source, that's the bestie you text at 2am π¦
and that's the whole page, bestie, you ate it π this one's perl v5.42.0, dated 2024-12-12, filed under DateTim...ale::qu(3) β go format some dates, slay, periodt β¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms