From: Christian B. <cb...@st...> - 2001-07-06 17:37:16
|
Hi! On Thu, Jul 05, 2001 at 02:13:35PM -0500, Brian Johnson wrote: > But wouldn't the easier way to do this be to call localtime(), and > reconstruct the local time in seconds from the tm_sec, tm_min, > tm_hour, tm_yday, and tm_year fields? Excellent idea. I've committed some code to the CVS that adds a TimeToMacTime(time_t) function for this purpose. The TIME_OFFSET constant is gone, and the file dates in the ExtFS are also correct now. Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/ |