Commit 8264090
fix(file-provider): self-review fixes — DateFormatter locale/tz, guard refactor, docstring
- Add locale=en_US_POSIX and timeZone=UTC to DateFormatter in FileProviderItem.filename
for saveStateFile to ensure deterministic filenames regardless of user locale/timezone
- Refactor loadAllSaveStateEntries guard chain to single guard (eliminates intermediate URL? var)
- Update FileProviderEnumerator class docstring to include Save States and Screenshots categories
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 202786e commit 8264090
3 files changed
Lines changed: 9 additions & 9 deletions
File tree
- Extensions/ROM File Provider
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
0 commit comments