Commit 122bd53
committed
Update datetime timezone handling after fix
This patch fixes Tarantool output on using `datetime.new()` and
`datetime.set()` with timezones specified.
After tarantool/tarantool#10970 datetime objects created/modified with
timestamps plus timezones are handled differently from the way they are
described in the doc. Now specifying a timezone only changes the
displayed time instead of affecting the timestamp representing the time
passed from 1970-01-01. Thus, setting a new timezone properly affects
hours/minutes.
PR tarantool/tarantool#10970
Issue tarantool/tarantool#103631 parent 75205a7 commit 122bd53
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
| 716 | + | |
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| |||
0 commit comments