1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Moved the common DateStamp to time_t conversion code into a shared

function.

- The fall-back function for converting time into a string in strftime()
  now calls itself for the "%x" and "%X" format specifiers.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14809 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-01-24 10:25:46 +00:00
parent e1476c15b3
commit d1aaa84bcc
13 changed files with 63 additions and 131 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: time_headers.h,v 1.5 2005-01-02 09:07:19 obarthel Exp $
* $Id: time_headers.h,v 1.6 2005-01-24 10:25:46 obarthel Exp $
*
* :ts=4
*
@ -94,6 +94,7 @@ extern const char * const NOCOMMON __month_names[12];
extern char * __asctime_r(const struct tm *tm,char * buffer,size_t buffer_size);
extern char * __number_to_string(unsigned int number,char * string,size_t max_len,size_t min_len);
extern struct tm * __convert_time(ULONG seconds, LONG gmt_offset, struct tm * tm);
extern time_t __convert_datestamp_to_time(const struct DateStamp * ds);
/****************************************************************************/