Re: [Simplog-devel] Timezone Patch
Brought to you by:
f-bomb
From: Jim Hu <ji...@ta...> - 2005-05-12 22:04:07
|
Tom, I'm wondering about whether this should be by blog or by user. Jim On May 12, 2005, at 1:34 PM, Thomas A. Cort wrote: > I just finished a timezone patch which will allow the owner of a blog > to set the timezone for his or her blog. It inroduces a new database > column to the table blog_list. The column is called tz_offset and > holds an integer. The column is not null and defaults to '0'. The > integer represents the number of hours to add or subtract from the > server's time to get the local time. The blogging software now uses > the local time (server time + offset) when storing comments or > entries. To change the offset simply go to Blog Administration and > change it. > > This code patches the May 12th cvs version of simplog. I have no idea > if it will work with version 0.9.1 (the lastest stable release). If > you have an exisiting blog and it does apply cleanly you'll have to > alter the blog_list table to have a non-null integer column called > tz_offset with a default value of 0. > > The code is available here: http://mediumbagel.org/code/timezone.patch > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Simplog-devel mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simplog-devel |