[utils,doc] update timezone sync procedure

* add new C# utility to generate timezone mappings
* update procedure to follow for updating timezones
* remove obsolete TimeZones.csx script
* update generated files with new tool
This commit is contained in:
akallabeth
2024-04-26 12:16:55 +02:00
committed by akallabeth
parent 277907d810
commit f9443a080e
8 changed files with 752 additions and 735 deletions

View File

@@ -1,12 +1,22 @@
On an up to date windows machine run the following scripts (from checkout root):
On an up to date windows machine run the following binary after a build with -DWITH_TIMEZONE_UPDATER=ON (from build directory):
csi.exe scripts/TimeZones.csx
csi.exe scripts/WindowsZones.csx
tzextract <path to source>\winpr\libwinpr\timezone
After running the scripts check
* winpr/libwinpr/timezone/TimeZones.c
* git clang-format -f to eliminate formatting changes
* winpr/libwinpr/timezone/WindowsZones.c
for changes.
Commit if the definitions changed and create a pull request at
https://github.com/FreeRDP/FreeRDP
on any machine run the following script from checkout root:
./scripts/update-windows-zones.py
After running the scripts check
* git clang-format -f to eliminate formatting changes
* winpr/libwinpr/timezone/WindowsZones.c
for changes.
Commit if the definitions changed:
1. run `git clang-format -f` on these changed files
2. commit these changes
3. create a pull request at https://github.com/FreeRDP/FreeRDP