Free Support Forum - aspose.com

Issue with Locale usage

Hi,

I have an excel file with a date in French locale and when am reading it in java using aspose the value gets converted to US locale.

Here is the code snippet :

String value = cell.getStringValue()

Example : Date in Excel file : 01-juil-13 and read value is 01-jul-13

I want the final value as 01-juil-13

Please provide the solution..

Thanks,

Asha

Hi,

I have found the solution.

I forgot to set the workbook locale.

Hi,

Thanks for using Aspose.Cells.

We are glad to know that you found the solution. If you encounter any other issue, please feel free to post, we will be pleased to help you further.