From: Kaj H. <kaj...@us...> - 2003-10-01 20:23:55
|
At 21:10 +0200 01-10-2003, Kaj Hejer wrote: >At 20:41 +0200 01-10-2003, Kaj Hejer wrote: >>Hi! >> >>We get the following exception on channel.getFeed("rdf") when we >>use item.setDcDate: >> >>java.lang.IllegalArgumentException: Illegal pattern character 'Z' >> >> >>This seems to be a bug in java 1.3.1. We only see this issue on >>java 1.3.1, not on 1.4.1. >> >>The problems seems to be sdf2 in >>src/com/rsslibj/writers/GenericRSSWriter.java > > Hi again :) I found a method for returning dates in ISO-8601 format at <url:http://forum.java.sun.com/thread.jsp?thread=439507&forum=1&message=1978495> I modified GenericRSSWriter.java to use this code and my modified version can be found at http://folk.uio.no/kajh/tmp/GenericRSSWriter.java.txt Feel free to include this code in rsslibj (if you think it does what it should :) -Kaj :) |