pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:333:    *! @item %V    *! The ISO 8601 week number of the current year as a decimal number,    *! range 01 to 53, where week 1 is the first week that has at least    *! 4 days in the new year. See also @expr{%U@} and @expr{%W@}.    *!    *! @item %w    *! The day of the week as a decimal, range 0 to 6, Sunday being 0.    *! See also @expr{%u@}.    *! @enddl    */ -  PIKEFUN string strftime(string(1..255) format) +  PIKEFUN string(1..255) strftime(string(1..255) format)    {    char *buffer = xalloc( 8192 );    buffer[0] = 0;    strftime_zone( buffer, 8192, format->str, &THIS->t );    push_text( buffer );    free(buffer);    }       /*! @decl int(0..60) sec;    *! @decl int(0..59) min;