- Notifications
You must be signed in to change notification settings - Fork5
Commitdbf2fd2
committed
The enclosed patch changes the behaviour of the "ordinal" ('TH') format for
to_char. I don't know about the rest of the world, but the "standard" inAustralia is the following: 1st, 2nd, 3rd, 4th - 9th 10th - 19th 21st, 22nd, 23rd, 24th - 29th (similarly for 30s - 90s) 110th - 119th (and for all "teens") 121st, 122nd, 123rd, 124th - 129thI think you see the trend. The current code works fine except that itproduces: 111st, 112nd, 113rd, 114th - 119th 211st, 212nd, 213rd, 214th - 219th ... and so on.Without knowing anything about what's supported (and what isn't) in the usualI18N libraries, should this type of behaviour be defined within the locales?Daniel Baldoni1 parentce77462 commitdbf2fd2
1 file changed
+7
-4
lines changedLines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
1258 | 1258 |
| |
1259 | 1259 |
| |
1260 | 1260 |
| |
1261 |
| - | |
| 1261 | + | |
1262 | 1262 |
| |
1263 | 1263 |
| |
1264 | 1264 |
| |
1265 | 1265 |
| |
1266 | 1266 |
| |
1267 |
| - | |
1268 |
| - | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
1269 | 1272 |
| |
1270 | 1273 |
| |
1271 | 1274 |
| |
|
0 commit comments
Comments
(0)