ntdll.dll: Add PYT and PYST time zones
Glenn Wurster
gwurster at scs.carleton.ca
Wed Jul 4 19:52:29 CDT 2007
> I don´t know much about how to coding or programming wine, but I make a
> little patch for wine 0.9.40 , that include the time zones of my country
> (Paraguay) to wine 0.9.40.
>
> Don't know how to make a .patch file, but the patch is really easy to
> understand.
>
> Just include this lines in the file: /wine-0.9.40/dlls/ntdll/time.c
> ======================================
> {"PYT",
> {'P','a','r','a','g','u','a','y','a','n','
> ','S','t','a','n','d','a','r','d',
> ' ','T','i','m','e','\0'}, 240, 0},
> {"PYST",
> {'P','a','r','a','g','u','a','y','a','n',' ','S','u','m','m','e','r',
> ' ','T','i','m','e','\0'}, 180, 1},
> ======================================
>
> I suggest to include this lines just down the brazilian lines, just
> because Paraguay is down Brazil in SouthAmerica map. :)
Attached is a patch file of the proposed changes. Just doing a
courtesy and formatting it for inclusion. Full credit should go to
Julio E. Gonzalez P. (jegp at netvision.com.py)
Changelog: Add PYT and PYST time zones.
Glenn.
-------------- next part --------------
diff --git a/dlls/ntdll/time.c b/dlls/ntdll/time.c
index 1159a89..08e09b0 100644
--- a/dlls/ntdll/time.c
+++ b/dlls/ntdll/time.c
@@ -168,6 +168,12 @@ static const struct tagTZ_INFO TZ_INFO[] =
{"BRST",
{'B','r','a','z','i','l','i','a','n',' ','S','u','m','m','e','r',
' ','T','i','m','e','\0'}, 120, 1},
+ {"PYT",
+ {'P','a','r','a','g','u','a','y','a','n',' ',
+ 'S','t','a','n','d','a','r','d',' ','T','i','m','e','\0'}, 240, 0},
+ {"PYST",
+ {'P','a','r','a','g','u','a','y','a','n',' ','S','u','m','m','e','r',
+ ' ','T','i','m','e','\0'}, 180, 1},
{"ART",
{'S','A',' ','E','a','s','t','e','r','n',' ','S','t','a','n','d','a','r',
'd',' ','T','i','m','e','\0'}, 180, 0},
More information about the wine-patches
mailing list