[pLog-svn] r2547 - plog/branches/plog-1.0.2/class/dao

Paul Westbrook paul at westbrooks.org
Thu Nov 10 04:58:35 GMT 2005


What code path are you using to create the article?  The xmlrpc code  
path has set the articleDate to the local time.

On line 217 of xmlrpc.php, the UTC date that is converted to the  
server local, date.  Now, won't the call to addArticle change the  
modify the date and time?


--Paul


On Nov 9, 2005, at 7:40 PM, Jon Daley wrote:

> On Wed, 9 Nov 2005, Paul Westbrook wrote:
>>  With this change, some articles will be in local time to the  
>> server, and some will have their time adjusted.  It will be hard  
>> to determine whether the time offset has been applied to a date  
>> and time in the database.
> 	I think all posts will be in local time to the server.  You can  
> try it yourself on your server, without this fix:
>
> set the offset to a non-zero amount.
> hit "new post", note the time is at the correct server minus offset  
> time.
> hit update.
> Note the timestamp is now server time minus 2 * offset time.
> editing posts correctly added and subtracted the offset when  
> retrieving and saving to the database.
> Adding posts added the local user time, instead of the server time  
> to the database.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>

--
Paul Westbrook
paul at westbrooks.org
<http://www.westbrooks.org>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2367 bytes
Desc: not available
Url : http://www.plogworld.net/pipermail/plog-svn/attachments/20051109/571fb45b/smime.bin


More information about the pLog-svn mailing list