@@ -300,25 +300,34 @@ class TestDateFormatter: XCTestCase {
300
300
let f = DateFormatter ( )
301
301
f. timeZone = TimeZone ( abbreviation: DEFAULT_TIMEZONE)
302
302
303
- //.full cases have been omitted as they're not working correctly on Linux
303
+ //.full cases have been commented out as they're not working correctly on Linux
304
304
let formats : [ String : ( DateFormatter . Style , DateFormatter . Style ) ] = [
305
305
" " : ( . none, . none) ,
306
306
" h:mm a " : ( . none, . short) ,
307
307
" h:mm:ss a " : ( . none, . medium) ,
308
308
" h:mm:ss a z " : ( . none, . long) ,
309
+ // "h:mm:ss a zzzz": (.none, .full),
309
310
" M/d/yy " : ( . short, . none) ,
310
311
" M/d/yy, h:mm a " : ( . short, . short) ,
311
312
" M/d/yy, h:mm:ss a " : ( . short, . medium) ,
312
313
" M/d/yy, h:mm:ss a z " : ( . short, . long) ,
314
+ // "M/d/yy, h:mm:ss a zzzz": (.short, .full),
313
315
" MMM d, y " : ( . medium, . none) ,
314
316
//These tests currently fail, there seems to be a difference in behavior in the CoreFoundation methods called to construct the format strings.
315
317
// "MMM d, y 'at' h:mm a": (.medium, .short),
316
318
// "MMM d, y 'at' h:mm:ss a": (.medium, .medium),
317
319
// "MMM d, y 'at' h:mm:ss a z": (.medium, .long),
320
+ // "MMM d, y 'at' h:mm:ss a zzzz": (.medium, .full),
318
321
" MMMM d, y " : ( . long, . none) ,
319
322
" MMMM d, y 'at' h:mm a " : ( . long, . short) ,
320
323
" MMMM d, y 'at' h:mm:ss a " : ( . long, . medium) ,
321
324
" MMMM d, y 'at' h:mm:ss a z " : ( . long, . long) ,
325
+ // "MMMM d, y 'at' h:mm:ss a zzzz": (.long, .full),
326
+ // "EEEE, MMMM d, y": (.full, .none),
327
+ // "EEEE, MMMM d, y 'at' h:mm a": (.full, .short),
328
+ // "EEEE, MMMM d, y 'at' h:mm:ss a": (.full, .medium),
329
+ // "EEEE, MMMM d, y 'at' h:mm:ss a z": (.full, .long),
330
+ // "EEEE, MMMM d, y 'at' h:mm:ss a zzzz": (.full, .full),
322
331
]
323
332
324
333
for (dateFormat, styles) in formats {
0 commit comments