Revision: 16707
          http://sourceforge.net/p/skim-app/code/16707
Author:   hofman
Date:     2026-10-24 17:15:00 +0000 (Sat, 24 Oct 2026)
Log Message:
-----------
set locale to en_US_POSIX for standard date descriptions

Modified Paths:
--------------
    trunk/NSDate_SKExtensions.m

Modified: trunk/NSDate_SKExtensions.m
===================================================================
--- trunk/NSDate_SKExtensions.m 2026-10-23 22:25:22 UTC (rev 16706)
+++ trunk/NSDate_SKExtensions.m 2026-10-24 17:15:00 UTC (rev 16707)
@@ -91,6 +91,7 @@
     if (formatter == nil) {
         formatter = [[NSDateFormatter alloc] init];
         [formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
+        [formatter setLocale:[NSLocale 
localeWithLocaleIdentifier:@"en_US_POSIX"]];
         [formatter setDateFormat:@"yyyy-MM-dd HH:mm:ss ZZZ"];
     }
     return [formatter stringFromDate:self];
@@ -100,6 +101,8 @@
     static NSDateFormatter *formatter = nil;
     if (formatter == nil) {
         formatter = [[NSDateFormatter alloc] init];
+        [formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
+        [formatter setLocale:[NSLocale 
localeWithLocaleIdentifier:@"en_US_POSIX"]];
         [formatter setDateFormat:@"yyyyMMddHHmmssZZ"];
     }
     NSMutableString *dateString = [NSMutableString stringWithString:@"D:"];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to