Free Support Forum - groupdocs.com

How to change date format when converting from an email format using .NET

Hello,

I was wondering if it is somehow possible to change the date format when an email was sent, that will be rendered onto the converted document?
The Viewer works as expected by applying the format from System.Globalization.CultureInfo.CurrentCulture, but Conversion always give me a format like that: “Wed, 12 Feb 2020 10:48:35 +0000”.
Am I missing something, or is this functionality only available for the Viewer?
If so, can we please get it for Conversion too, or an option to configure it?
(Using GroupDocs.Viewer / GroupDocs.Conversion v20.1.0 for C#)

1 Like

@Clemens_Pestuka,

We are investigating this scenario. Your investigation ticket ID is CONVERSIONNET-3674. As there is any further update, you’ll be notified.

1 Like

@Clemens_Pestuka,

This feature is not currently supported by the API. We’ll further investigate it and let you know about the ETA.

@atirtahir3
Great! thank you :slightly_smiling_face:

1 Like

@Clemens_Pestuka,

You are welcome.

@Clemens_Pestuka,

We added a new property PreserveOriginalDate in API version 20.3. By setting it to true, you will get original date format.

1 Like

@atirtahir3

Thank you :slightly_smiling_face:
I tested it and can confirm that the date is no longer changed and is displayed correctly, according to the CurrentCulture setting. :+1:

1 Like

@Clemens_Pestuka,

Good to know that your issue is now fixed :slight_smile:

1 Like