jeevatkm / ReplyWithHeader

Quoting Outlook style headers and Signatures for Mail.app
https://myjeeva.com/replywithheader
MIT License
64 stars 7 forks source link

Date format has local system format and not the one of the selected language #37

Closed ghost closed 9 years ago

ghost commented 11 years ago

Related to 4.2beta: The date headers are always formatted in the local system format regardless which language setting one has chosen in the plugin. Because of that one has mixed language wording in the date string.

Example (note the german output of the sent date in the english context):

From: Mini Minimizer [mailto:mini@minimizer.com] Sent: Montag, 05. August 2013 11:13:37 MESZ To: 'Max Maximizer' Subject: Some subject text coming here

should be From: Mini Minimizer [mailto:mini@minimizer.com] Sent: Monday, August 05, 2013 11:13 To: Max Maximizer Subject: Some subject text coming here

Better would be if the date format is follwing the selected language. The suffix MESZ is also a bit confusing. The display of seconds is fine for me even if Outlook has not such detailed output.

jeevatkm commented 10 years ago

@FrankSmith I have tried out few options around. Nothing gets success due to dynamically date format thing.

There is a option seems viable. Since Date format is unique to each individual based on Language & region settings and on top Mail.app treats date format in different internally!

Option: Getting Date format input from user when user choose English locale, from his current locale and using following format "EEEE, MMM d, yyyy, h:mm:ss a zzz" for transformation. Issue with this approach, not every user is technical enough to provide date format string input.

Any thoughts?

jeevatkm commented 9 years ago

Addressed, part of next release.