Bick
Bick

Reputation: 18531

moving my app from Windows to Ubuntu

when moving my app from Windows to Ubuntu I get
com.google.gson.JsonParseException: java.text.ParseException: Unparseable date: "13:31:16 13/04/2010"

I think it is related to my regional settings . currently my windows system are set on hebrew and on ubuntu i have

locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Any ideas?

Upvotes: 0

Views: 122

Answers (1)

Piskvor left the building
Piskvor left the building

Reputation: 92772

13/04/2010 is likely at fault there: as your LC_TIME has en_US (English, U.S.A.), the system may be expecting the date to be in mm/dd/yyyy format, and Undecimber (the 13th month) may be a bit hard to process ;)

Maybe you want to set your locale to he_IL? (possibly through the Language settings dialog)

Upvotes: 1

Related Questions