Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Aug 22, 2017 3:48 pm

Hello,

We want to wrote a dateTime in Excel with a special mask, and save to a PDF.
On excel all works fine, but on pdf, we have this value : "2017月06月年06月"

We have a French culture in our application.
We use :
SpireXLS : 7.12.76.6040
Spire.Pdf : 3.9.303.6040

Code: Select all
var workbook = new Workbook();
workbook.Worksheets.Add("Test");
var sheet = workbook.Worksheets[0];
var cell = sheet.Range["B2"];
cell.Value2 = new DateTime(2017, 06, 23);
cell.NumberFormat = "m/d/yyyy";
workbook.SaveToFile("Result.pdf", FileFormat.PDF);



Regards

VincentB
 
Posts: 120
Joined: Thu Sep 15, 2016 9:44 am

Wed Aug 23, 2017 2:41 am

Hello VincentB,

Thanks for your inquiry.
I have reproduced your issue and referred it to our dev team.
Once there's any progress, I will let you know.

Sinerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Sep 28, 2017 7:09 am

Hello VincentB,

Glad to inform that your issue has been resolved and the hotfix is available now.
Please downlaod the Spire.XLS Pack Hotfix Version:7.12.90 and have a test.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Mon Oct 09, 2017 9:17 am

Hello,

Greetings from E-iceblue.
Did the hotfix resolve your issue?
Thanks in advance for your valuable feedback and time.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Tue Oct 24, 2017 9:08 am

Hello,

I don't reproduce the issue
I have good format in Excel and PDF

Thank

VincentB
 
Posts: 120
Joined: Thu Sep 15, 2016 9:44 am

Tue Oct 24, 2017 9:21 am

Hello VincentB,

Thanks for your valuable feedback.
Please feel free to contact us if you need further assitance.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.XLS