Revision: 28362
http://sourceforge.net/p/bibdesk/svn/28362
Author: hofman
Date: 2023-09-21 09:37:58 +0000 (Thu, 21 Sep 2023)
Log Message:
-----------
use en_US_POSIX locale
Modified Paths:
--------------
trunk/bibdesk/NSDate_BDSKExtensions.m
Modified: trunk/bibdesk/NSDate_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSDate_BDSKExtensions.m 2023-09-20 15:29:55 UTC (rev
28361)
+++ trunk/bibdesk/NSDate_BDSKExtensions.m 2023-09-21 09:37:58 UTC (rev
28362)
@@ -59,7 +59,7 @@
static CFDateFormatterRef dateFormatter = nil;
if (NULL == dateFormatter) {
// use the en locale, since dates use en short names as keys in BibTeX
- CFLocaleRef enLocale = CFLocaleCreate(alloc, CFSTR("en"));
+ CFLocaleRef enLocale = CFLocaleCreate(alloc, CFSTR("en_US_POSIX"));
// the formatter styles aren't used here, since we set an explicit
format
dateFormatter = CFDateFormatterCreate(alloc, enLocale,
kCFDateFormatterLongStyle, kCFDateFormatterLongStyle);
@@ -75,7 +75,7 @@
static CFDateFormatterRef numericDateFormatter = nil;
if (NULL == numericDateFormatter) {
// use the en locale, since dates use en short names as keys in BibTeX
- CFLocaleRef enLocale = CFLocaleCreate(alloc, CFSTR("en"));
+ CFLocaleRef enLocale = CFLocaleCreate(alloc, CFSTR("en_US_POSIX"));
// the formatter styles aren't used here, since we set an explicit
format
numericDateFormatter = CFDateFormatterCreate(alloc, enLocale,
kCFDateFormatterLongStyle, kCFDateFormatterLongStyle);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit