Test Failure : Orchard.Tokens.Tests.DateTokenTests.TestDateTokens

Topics: General, 中文(Chinese)
May 22, 2012 at 12:05 PM

1) Test Failure : Orchard.Tokens.Tests.DateTokenTests.TestDateTokens
     String lengths are both 19. Strings differ at index 17.
  Expected: "10/14/2009 12:34 下午"
  But was:  "10/14/2009 12:34 PM"
  ----------------------------^

 

ran the last release build v1.4.2, one unit test failed regarding to the datetime issue.

It was fixed already, wasn't it?

 

Coordinator
May 22, 2012 at 5:15 PM

The bug itself you refer to was fixed, but the unit is actually failing on another culture. I am changing the test to work on some other cultures.

May 23, 2012 at 9:09 AM
Edited May 23, 2012 at 9:10 AM

建议一下叶子,如果在中文论坛这边最好后面附上中文翻译;哈哈!!