datetime: use Olson for timezone name
* Modified localtime.c to use tnt_tm instead of tm structure; * Use this structure for passing data to tnt_localtime_rz at the moment of time-zone resolution; * As a side-effect of refactoring - simplified singleton we used to use for automagical sorting of array with timezone abbreviations NO_DOC=internal NO_CHANGELOG=internal (cherry picked from commit 2116bbfd)
Showing
- src/box/sql/mem.c 1 addition, 1 deletionsrc/box/sql/mem.c
- src/lib/core/datetime.c 56 additions, 34 deletionssrc/lib/core/datetime.c
- src/lib/core/datetime.h 13 additions, 6 deletionssrc/lib/core/datetime.h
- src/lib/tzcode/localtime.c 1 addition, 1 deletionsrc/lib/tzcode/localtime.c
- src/lib/tzcode/strptime.c 2 additions, 5 deletionssrc/lib/tzcode/strptime.c
- src/lib/tzcode/timezone.c 124 additions, 48 deletionssrc/lib/tzcode/timezone.c
- src/lib/tzcode/timezone.h 21 additions, 2 deletionssrc/lib/tzcode/timezone.h
- src/lib/tzcode/tzcode.h 3 additions, 0 deletionssrc/lib/tzcode/tzcode.h
- src/lua/datetime.lua 40 additions, 29 deletionssrc/lua/datetime.lua
- src/lua/tnt_datetime.c 5 additions, 5 deletionssrc/lua/tnt_datetime.c
- test/app-tap/datetime.test.lua 18 additions, 12 deletionstest/app-tap/datetime.test.lua
- test/fuzz/datetime_parse_full_fuzzer.c 1 addition, 1 deletiontest/fuzz/datetime_parse_full_fuzzer.c
- test/unit/datetime.c 4 additions, 3 deletionstest/unit/datetime.c
Loading
Please register or sign in to comment