[Redbutton-devel] SF.net SVN: redbutton: [31] redbutton-browser/trunk/ResidentProgramClass.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2006-03-27 09:18:25
|
Revision: 31 Author: skilvington Date: 2006-03-27 01:18:20 -0800 (Mon, 27 Mar 2006) ViewCVS: http://svn.sourceforge.net/redbutton/?rev=31&view=rev Log Message: ----------- display dates in local time not GMT Modified Paths: -------------- redbutton-browser/trunk/ResidentProgramClass.c Modified: redbutton-browser/trunk/ResidentProgramClass.c =================================================================== --- redbutton-browser/trunk/ResidentProgramClass.c 2006-03-26 13:45:10 UTC (rev 30) +++ redbutton-browser/trunk/ResidentProgramClass.c 2006-03-27 09:18:20 UTC (rev 31) @@ -450,7 +450,7 @@ /* convert to UNIX time */ unix_time = ((mheg_date - MHEG_EPOCH_OFFSET) * (24 * 60 * 60)) + mheg_time; /* let libc do all the hard work of working out the year etc */ - tm = gmtime(&unix_time); + tm = localtime(&unix_time); /* write it out */ dateString.size = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |