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: macros.h,v 1.5 2005-01-12 09:15:50 obarthel Exp $
* $Id: macros.h,v 1.6 2005-01-24 10:25:46 obarthel Exp $
*
* :ts=4
*
@ -60,6 +60,9 @@
/****************************************************************************/
/* This is the difference (in seconds) between the Unix epoch (which began
on January 1st, 1970) and the AmigaOS epoch (which began eight years
later on January 1st 1978). */
#define UNIX_TIME_OFFSET 252460800
/****************************************************************************/