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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/module.pmod:20:      array _indices()   {    return (array)magic;   }      #include "localization.h"      //! Time and day system   //! - //! @fixme - //! - //! This needs to be reformatted as documentation. - //! +    //!@code   //!Q: I need to parse some date in a non-strict format, like   //! the one in the HTTP or mail protocol, or from a user web   //! form.   //!   //!A: Calendar.dwim_day, or Calendar.dwim_time, should solve   //! your problem.   //!   //! > Calendar.dwim_day("1/2/3");   //! Result: Day(Thu 2 Jan 2003)
pike.git/lib/modules/Calendar.pmod/module.pmod:487:   //! "Europe/Amsterdam" or "America/Dawson".   //!   //! You can tune the default timezone by editing   //! Calendar.pmod/localization.h.   //!   //! 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).   //!@endcode + //! + //! @fixme + //! + //! This needs to be reformatted as documentation.      #if 1   protected mixed `[](string what)   {    if (!booted)    {    if (what == "_module_value") return UNDEFINED;    booted++;    stage++;