pike.git
/
lib
/
modules
/
Calendar.pmod
/
YMD.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Calendar.pmod/YMD.pike:431:
("zzzJanFebMarAprMayJunJulAugSepOctNovDec"/3)[m], ((yd < 1)?y-1:y)); } string format_ext_time_short() { if (wd==CALUNKNOWN) make_week(); if (md==CALUNKNOWN) make_month(); return
-
sprintf("%s, %
02d
%s %
04d
00:00:00 GMT",
+
sprintf("%s, %
d
%s %
d
00:00:00 GMT",
week_day_shortname(), month_day(),month_shortname(),year_no()); } string format_ymd() { if (m==CALUNKNOWN) make_month(); return sprintf("%04d-%02d-%02d",((yd < 1)?y-1:y),m,md); }