Commit 4d711c2
authored
fix: revert removal of toOffsetDateTime(String timestamp) fixes #Issue 2497 (#2501)
* fix: revert removal of toOffsetDateTime(String timestamp) fixes #Issue 2497
* resurrected OffsetDateTime toOffsetDateTime(Time t) for completeness
* move handling of UTC for string OffsetDateTime to call site to retain the original function signature of TimestampUtils.toOffsetDateTime
* check for +/- infinity before setting timezone to UTC1 parent 8444ed6 commit 4d711c2
2 files changed
Lines changed: 31 additions & 9 deletions
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
671 | 672 | | |
672 | 673 | | |
673 | 674 | | |
674 | | - | |
675 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
676 | 688 | | |
677 | 689 | | |
678 | 690 | | |
| |||
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
519 | 534 | | |
520 | 535 | | |
521 | 536 | | |
522 | | - | |
523 | | - | |
524 | | - | |
| 537 | + | |
525 | 538 | | |
526 | 539 | | |
527 | 540 | | |
528 | 541 | | |
529 | | - | |
| 542 | + | |
530 | 543 | | |
531 | 544 | | |
532 | 545 | | |
| |||
545 | 558 | | |
546 | 559 | | |
547 | 560 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 561 | | |
552 | 562 | | |
553 | 563 | | |
| |||
0 commit comments