Commit d218e80
Fix timezone bug when converting datetime object to literal
Edm.DateTime should not contain timezone information as it did with
previous implementation. Detail reasoning behind these changes can be
found in commit #adf376f3436b2fdaebb6fc6da65c35664f8b9b3c
Previous output of to_literal:
'2019-10-09T12:14:25.216435+00:00'
New output of to_literal:
'2019-10-09T12:15:39.744821'
Documentation also provide extensive explanation of differences between
DateTime and DateTimeOffset:
https://www.odata.org/documentation/odata-version-2-0/overview/1 parent adf376f commit d218e80
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
| 381 | + | |
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
0 commit comments