convert does not understand daylight savings?

Sivakatirswami katir at hindu.org
Sat Apr 17 16:33:22 EDT 2010


I have a rss reading agent that is super picky...

a feed I generate using rev cgi


put "04/12/2010" into startYear
   convert startYear to seconds
   put (24*60*60) * tLessonNo into tDate
   add startYear to tDate
   convert tDate to long english date
   delete word 1 of tDate


returns...

<pubDate>Sat, 17 Apr 2010 00:00:01 PST</pubDate>

but it should be returning <pubDate>Sat, 17 Apr 2010 00:00:01 PDT</pubDate>

because of this, the feed is invalid by this particular agent's 
standards (it *does validate in any other validator...)


How can I tweak "convert" to output Sat, 17 Apr 2010 00:00:01 PDT



More information about the use-livecode mailing list