comparison src/editfns.c @ 151:59463afc5666 r20-3b2

Import from CVS: tag r20-3b2
author cvs
date Mon, 13 Aug 2007 09:37:19 +0200
parents 538048ae2ab8
children 25f70ba0133c
comparison
equal deleted inserted replaced
150:8ebb1c0f0f6f 151:59463afc5666
914 size_t emacs_strftime (char *string, size_t max, CONST char *format, 914 size_t emacs_strftime (char *string, size_t max, CONST char *format,
915 CONST struct tm *tm); 915 CONST struct tm *tm);
916 static long difftm (CONST struct tm *a, CONST struct tm *b); 916 static long difftm (CONST struct tm *a, CONST struct tm *b);
917 917
918 918
919 DEFUN ("format-time-string", Fformat_time_string, 2, 2, 0, /* 919 DEFUN ("format-time-string", Fformat_time_string, 1, 2, 0, /*
920 Use FORMAT-STRING to format the time TIME. 920 Use FORMAT-STRING to format the time TIME.
921 TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from 921 TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from
922 `current-time' and `file-attributes'. 922 `current-time' and `file-attributes'. If TIME is not specified it
923 defaults to the current time.
923 FORMAT-STRING may contain %-sequences to substitute parts of the time. 924 FORMAT-STRING may contain %-sequences to substitute parts of the time.
924 %a is replaced by the abbreviated name of the day of week. 925 %a is replaced by the abbreviated name of the day of week.
925 %A is replaced by the full name of the day of week. 926 %A is replaced by the full name of the day of week.
926 %b is replaced by the abbreviated name of the month. 927 %b is replaced by the abbreviated name of the month.
927 %B is replaced by the full name of the month. 928 %B is replaced by the full name of the month.