pike.git / lib / modules / Calendar.pmod / FAQ

version» Context lines:

pike.git/lib/modules/Calendar.pmod/FAQ:141:    or in a format not depending on the unit,       > Calendar.Week()->format_ymd();    Result: "2001-01-08"    > Calendar.Day()->format_time();    Result: "2001-01-10 00:00:00"       This is all the formats:       format_ext_time "Wednesday, 10 January 2001 10:49:57" +  format_ext_time_short "Wed, 10 Jan 2001 10:49:57 CET"    format_ext_ymd "Wednesday, 10 January 2001"    format_iso_time "2001-01-10 (Jan) -W02-3 (Wed) 10:49:57 UTC+1"    format_iso_ymd "2001-01-10 (Jan) -W02-3 (Wed)"    format_mod "10:49"    format_month "2001-01"    format_month_short "200101"    format_mtime "2001-01-10 10:49"    format_time "2001-01-10 10:49:57"    format_time_short "20010110 10:49:57"    format_time_xshort "010110 10:49:57"
pike.git/lib/modules/Calendar.pmod/FAQ:261:    tweaks the Gregorian module.    Coptic    The Coptic calendar is by some sources ("St. Marks'    Coptic Orthodox Church" web pages) is for now on in sync with    the Gregorian Calendar, so this module too inherits    and tweaks the Gregorian module. It needs to be    adjusted for historical use.    Julian    This is the Julian calendar, with the small changes    to the Gregorian calendar (leap years). +  Badi (Baha'i) +  The Badi calendar used by the Baha'i religion is based on the +  solar year. For the time being it is in sync with the Gregorian +  calendar.       Islamic    This is the Islamic calendar, using the 'Calendrical    Calculations' rules for new moon. It is based    directly on the YMD module.    Stardate    This is the (TNG) Stardate calendar, which consists    of one time unit only, the Tick (1000 Tick is one earth year).    It is based directly on TimeRanges.   
pike.git/lib/modules/Calendar.pmod/FAQ:296:   -------------------------------------------------------------------------      Q: Isn't there a <my country> calendar?      A: <your country> uses the ISO calendar, with just different    names for the months. Language is a parameter to the    calendar units, as well as the timezone.       You set the language by using ->set_language(yourlanguage).    -  > t->set_language("portugese")->format_ext_ymd(); +  > t->set_language("pt")->format_ext_ymd();    Result: "Quarta-feira, 10 Janeiro 2001"    > t->set_language("roman")->format_ext_ymd();    Result: "Mercurii dies, X Ianuarius MMDCCLIII ab urbe condita"    -  Note that all languages aren't supported. If you miss -  your favourite language (or have some time over to help -  me out), look in the Language.pmod file and send me an +  Note that all languages aren't supported. If you miss your +  favourite language or I got it all wrong (or have some time over +  to help me out), look in the Language.pmod file and send me an    update. -  +     Or send me a list of the weekdays and month names    (please start with Monday and January).       Currently, these languages are supported:    -  iso (aka english) +  name code +  ------------------------------- +  ISO (default, aka English)    -  austrian -  english -  hungarian -  portugese -  spanish -  swedish -  welsh +  Afrikaans af afr (South Africa), +  Austrian de_AT +  Basque eu eus (Spain) +  Catalan ca cat (Catalonia) +  Croatian hr hrv +  Danish da dan +  Dutch nl nld +  English en eng +  Estonian et est +  Faroese fo fao +  Finnish fi fin +  French fr fra +  Galician gl glg (Spain) +  German de deu +  Greenlandic kl kal +  Hungarian hu hun +  Icelandic is isl +  Irish ga gle (Gaelic) +  Italian it ita +  Latvian lv lav +  Lithuanian lt lit +  Norwegian no nor +  Persian fa fas (Iran) +  Polish pl pol +  Portugese pt por +  Romanian ro ron +  Serbian sr srp (Yugoslavia) +  Slovenian sl slv +  Spanish es spa +  Swedish sv swe +  Turkish tr +  Welsh cy cym    -  latin -  roman +  Latin la lat +  Roman (Roman Latin)      -------------------------------------------------------------------------      Q: Isn't there a <whatever> calendar?      A: Not if it isn't listed above. I'll appreciate any    implementation help if you happen to have the time over    to implement some calendar.       I know I miss these:
pike.git/lib/modules/Calendar.pmod/FAQ:394:   A: For some regions, very. For most region, not very.       The first reason is lack of information of this kind on    the web, especially sorted into useful rules (like "the    third monday after 23 dec", not "8 jan").       The second reason is lack of time and interest to do    research, which is a rather tedious job.       If you want to help, the check your region in the -  events/regions file and send me <mirar@mirar.org> a patch. +  events/regions file and send me <mirar+pike@mirar.org> a patch.       Don't send me "the x region is all wrong!" mails without    telling me how it should look.      -------------------------------------------------------------------------      Q: My timezone says it's DST. It's wrong.      A: No it isn't. But:   
pike.git/lib/modules/Calendar.pmod/FAQ:427:    OR this may be in the future and you have a changed DST    rule and uses an old Pike. Then you can either download    a new version or download new timezone data files from    the ftp address below (if the internet still is there).      -------------------------------------------------------------------------      Q: The regional events and nameday files are awesome. May I use    them for a project separate from Pike?    - A: Yes. But send me <mirar@mirar.org> updates! + A: Yes. But send me <mirar+pike@mirar.org> updates!      -------------------------------------------------------------------------      Q: The timezone information files are awesome. May I use them for    a project separate from Pike?      A: The timezone files are from a special timezone project,    ftp://elsie.nci.nih.gov/pub/    and are free to use, so it's not even up to me. They are    not altered from the tzdata.tar.gz files.      -------------------------------------------------------------------------