shau-lok/google-gson

DefaultDateTypeAdapterTest#testDateSerialization fails on non-US systems

Closed this issue · 1 comments

What steps will reproduce the problem?
1. run DefaultDateTypeAdapterTest

What is the expected output? What do you see instead?
Failed tests: 
  testDateSerialization(com.google.gson.DefaultDateTypeAdapterTest): expected:<[31 oktober] 2011> but was:<[October 31,] 2011>

Locale.US should be used to create the expected value

Original issue reported on code.google.com by d.de...@gmail.com on 31 Oct 2011 at 1:04

Fixed with issue 381.

Original comment by limpbizkit on 16 Dec 2011 at 5:02

  • Changed state: Duplicate