I tried this in JAVA where the SOLR runs. Is it problem due to the encoding?

Code:

GregorianCalendar calendar = new
GregorianCalendar(TimeZone.getTimeZone("US/Eastern"), Locale.US);
System.out.println(calendar.getTime());
calendar.set(0, 0, 0, 0, 0, 0);
System.out.println(calendar.getTime());
System.out.println("System property: "+System.getProperty("file.encoding"));


Output:

Thu Nov 18 02:13:00 EST 2010
Wed Dec 31 00:00:00 EST 2
System property: UTF-8

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/DateFormatTransformer-issue-with-value-0000-00-00T00-00-00Z-tp1910644p1922354.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to