Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 3bc8dd5

Browse files
committed
Upd timezone.c Add SX, BQ and CW remove AN and FX ( Boris Zentner )
1 parent fa27148 commit 3bc8dd5

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
1.4.7
2-
* Add support for the new types in geoiplookup6 ( Boris Zentner )
2+
* Upd timezone.c Add SX, BQ and CW remove AN and FX ( Boris Zentner )
3+
* Add support for the new types in geoiplookup6 ( Boris Zentner )
34
* Add new database types GEOIP_CITY_EDITION_REV0_V6,
45
GEOIP_CITY_EDITION_REV1_V6, GEOIP_DOMAIN_EDITION_V6,
56
GEOIP_ORG_EDITION_V6 and GEOIP_ISP_EDITION_V6 ( Boris Zentner )

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GeoIP 1.4.6
1+
GeoIP 1.4.7
22
-----------
33

44
*** Experimental IPv6 notice ***

libGeoIP/timeZone.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ const char* GeoIP_time_zone_by_country_and_region(const char * country,const cha
2828
else if ( strcmp (country, "AM") == 0 ) {
2929
timezone = "Asia/Yerevan";
3030
}
31-
else if ( strcmp (country, "AN") == 0 ) {
32-
timezone = "America/Curacao";
33-
}
3431
else if ( strcmp (country, "AO") == 0 ) {
3532
timezone = "Africa/Luanda";
3633
}
@@ -188,6 +185,9 @@ const char* GeoIP_time_zone_by_country_and_region(const char * country,const cha
188185
else if ( strcmp (country, "BO") == 0 ) {
189186
timezone = "America/La_Paz";
190187
}
188+
else if ( strcmp (country, "BQ") == 0 ) {
189+
timezone = "America/Curacao";
190+
}
191191
else if ( strcmp (country, "BR") == 0 ) {
192192
if ( strcmp (region, "01") == 0 ) {
193193
timezone = "America/Rio_Branco";
@@ -481,6 +481,9 @@ const char* GeoIP_time_zone_by_country_and_region(const char * country,const cha
481481
else if ( strcmp (country, "CV") == 0 ) {
482482
timezone = "Atlantic/Cape_Verde";
483483
}
484+
else if ( strcmp (country, "CW") == 0 ) {
485+
timezone = "America/Curacao";
486+
}
484487
else if ( strcmp (country, "CX") == 0 ) {
485488
timezone = "Indian/Christmas";
486489
}
@@ -653,9 +656,6 @@ const char* GeoIP_time_zone_by_country_and_region(const char * country,const cha
653656
else if ( strcmp (country, "FR") == 0 ) {
654657
timezone = "Europe/Paris";
655658
}
656-
else if ( strcmp (country, "FX") == 0 ) {
657-
timezone = "Europe/Paris";
658-
}
659659
else if ( strcmp (country, "GA") == 0 ) {
660660
timezone = "Africa/Libreville";
661661
}
@@ -1695,6 +1695,9 @@ const char* GeoIP_time_zone_by_country_and_region(const char * country,const cha
16951695
else if ( strcmp (country, "SV") == 0 ) {
16961696
timezone = "America/El_Salvador";
16971697
}
1698+
else if ( strcmp (country, "SX") == 0 ) {
1699+
timezone = "America/Curacao";
1700+
}
16981701
else if ( strcmp (country, "SY") == 0 ) {
16991702
timezone = "Asia/Damascus";
17001703
}

0 commit comments

Comments
 (0)