Repository navigation
Commit 4047bb6
committed
Add edge cases for pre-epoch and 1582 calendar switch
Cover the Julian/Gregorian boundary (proleptic Gregorian, per spec) in
days_to_date, and negative pre-1970 inputs in the human-readable
timestamp formatters, per review feedback.1 parent b77ad2a commit 4047bb6
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
241 | 249 | | |
242 | 250 | | |
243 | 251 | | |
| |||
267 | 275 | | |
268 | 276 | | |
269 | 277 | | |
270 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
271 | 283 | | |
272 | 284 | | |
273 | 285 | | |
274 | 286 | | |
275 | 287 | | |
276 | 288 | | |
| 289 | + | |
277 | 290 | | |
278 | 291 | | |
279 | 292 | | |
0 commit comments