Skip to content

Commit 85fb8cf

Browse files
tidy
1 parent 2e4783f commit 85fb8cf

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

tests/dtftimezonename.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
</th></tr></thead>
2929
<tr><td colspan="2" class="intro">
30-
<span class="no_color">A proof to confirm minimum tests for maximum entropy in timeZoneName.
30+
<span class="no_color">A firefox (128+) proof to confirm minimum tests for maximum entropy in timeZoneName.
3131
The default test covers base languages, but you can expand locales to expose
3232
<span class="s4">regional differences</span> on all three tests.
3333
The <code>TINY</code> test is a minimalist hardcoded test built for speed.
@@ -232,7 +232,7 @@
232232
"Africa/Lusaka": tzSG,
233233
"Africa/Nairobi": tzSG,
234234
"Africa/Windhoek": tzSG,
235-
"America/Argentina/Cordoba": tzSG, //"America/Rosario": tzSG, // dropped 1930466
235+
"America/Argentina/Cordoba": tzSG,
236236
"America/Bogota": tzSG,
237237
"America/Caracas": tzSG,
238238
"America/Cayenne": tzSG,
@@ -267,7 +267,6 @@
267267
"Indian/Cocos": tzS,
268268
"Pacific/Pago_Pago": tzLG,
269269
"Pacific/Saipan": tzSG,
270-
"Pacific/Tongatapu": tzSG,
271270
}
272271
} else {
273272
tests = {
@@ -282,33 +281,38 @@
282281
"Europe/Isle_of_Man": tzSG,
283282
"Europe/London": tzSG,
284283
"Indian/Chagos": tzLG,
285-
"Indian/Cocos": tzS,
286284
"Pacific/Pago_Pago": tzLG,
287285
"Pacific/Saipan": tzSG,
288-
"Pacific/Tongatapu": tzSG,
289286
}
290287
}
291288
} else if (method == "tiny") {
292289
// wee fast test with bang for buck
293290
/*
294-
last tested FF123
295-
296-
EXPANDED: max entropy = 311
291+
EXPANDED LOCALES
292+
FF128: max entropy = 311
297293
- Seoul 223 + Douala 234 + London 242 + Hong Kong 248 + Muscat 254 | after that it's small pickups of < 3
298294
- 254 (5 tests) out of 311 max (40 tests) = 82%
299295
- the remaining 35 tests would pickup 57 more buckets
300296
- not worth it overall - and some of this may be equivalency of other tests
301297
- althought we are trying to test as much as possible for regressions and lies and custom formatting etc
302-
303-
LIST: max entropy = 213
304-
- Seoul 191 + Douala 199 + London 205 + Hong Kong 206 (+ Muscat adds nothing)
305-
- 206 (5 tests) out of 213 max (14 tests - or 15 if you count we added Muscat) = 97% = pretty good for major locales
298+
FF135: max entropy = 321
299+
- Seoul 223 + Douala 243 + London 250 + Hong Kong 255 + Muscat 261
300+
- 261 (5 tests) out of 321 max (40 tests) = 81%
301+
- the remaining 35 tests would pickup 60 more buckets
302+
303+
BASE locales
304+
FF128: max entropy = 213
305+
- Seoul 191 + Douala 199 + London 205 + Muscat 206
306+
- 206 (5 tests) out of 213 max (13 tests) = 97% = pretty good for base locales
307+
FF135: max entropy = 221
308+
- Seoul 201 + Douala 209 + London 213 + Muscat 214
309+
- 214 (5 tests) out of 221 max (13 tests) = 97%
306310
*/
307311
tests = {
308-
"Asia/Seoul": tzLG,
309312
"Africa/Douala": tzLG,
313+
'Asia/Hong_Kong': tzSG, // useful in expanded
314+
"Asia/Seoul": tzLG,
310315
"Europe/London": tzSG,
311-
"Asia/Hong_Kong": tzSG,
312316
"Asia/Muscat": tzSG,
313317
}
314318
} else {

0 commit comments

Comments
 (0)