
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
|