Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel
soap story update cover date
 

Index | Next | Previous | View Flat


rotoole at gmail

Jul 18, 2009, 10:53 AM


Views: 2422
Permalink
soap story update cover date

I'm trying to update the cover date on a set of stories via soap by
exporting, regexing, then updating. This appears to work without error, but
when I look at the stories through the web interface the cover dates are
off. The year is 1 less, the day is 1 less, and the hour is 19:00:00 when it
should be 00:00:00. However, when I look up the same story in the
story_instance table it has the correct updated date.

I have no idea what's happening. Am I formatting my date incorrectly? Is it
being interpreted in a way I didn't expect? Is timezone a factor? I checked
bric's date settings and they look reasonable (Eastern Time). What am I
doing wrong?

My xml looks as such:

...
<cover_date>2002-01-01T00:00:00Z</cover_date>
...

which produces a cover date of:

2001-12-31 19:00:00


-- - - - - -
-

-
ryan

Subject User Time
soap story update cover date rotoole at gmail Jul 18, 2009, 10:53 AM
    RE: soap story update cover date adam at RFXTechnologies Jul 18, 2009, 12:27 PM
    Re: soap story update cover date rotoole at gmail Jul 18, 2009, 8:48 PM
    Re: soap story update cover date rotoole at gmail Jul 18, 2009, 9:13 PM
        Re: soap story update cover date david at kineticode Jul 19, 2009, 2:36 PM
    Re: soap story update cover date rotoole at gmail Jul 19, 2009, 5:16 PM
    Re: soap story update cover date david at kineticode Jul 19, 2009, 10:56 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.