Skip to content

Commit

Permalink
Switch to countryName
Browse files Browse the repository at this point in the history
  • Loading branch information
ithielnor authored and vvo committed Jul 8, 2020
1 parent 86d5303 commit fcea63b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Example data:
{
name: "America/Anchorage",
alternativeName: "Alaska Time",
country: "United States",
countryName: "United States",
mainCities: ["Anchorage", "Juneau"],
formatted: "-09:00 Alaska Time - Anchorage, Juneau",
group: [
Expand All @@ -38,15 +38,15 @@ Example data:
{
name: "Pacific/Gambier",
alternativeName: "Gambier Time",
country: "French Polynesia",
countryName: "French Polynesia",
mainCities: ["Gambier"],
formatted: "-09:00 Gambier Time - Gambier",
group: ["Pacific/Gambier"],
},
{
name: "America/Los_Angeles",
alternativeName: "Pacific Time",
country: "United States",
countryName: "United States",
mainCities: ["Los Angeles", "San Diego"],
formatted: "-08:00 Pacific Time - Los Angeles, San Diego",
group: ["America/Los_Angeles"],
Expand Down
6 changes: 3 additions & 3 deletions generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async function run() {
name: timeZoneName,
alternativeName: alternativeTimeZoneName,
group,
country: countries[countryCode],
countryName: countries[countryCode],
mainCities,
rawOffsetInMinutes: parseFloat(
timeZonesInfo[timeZoneName].rawOffset * 60,
Expand Down Expand Up @@ -261,7 +261,7 @@ async function run() {
({
name,
alternativeName,
country,
countryName,
mainCities,
group,
rawOffsetInMinutes,
Expand All @@ -270,7 +270,7 @@ async function run() {
return {
name,
alternativeName,
country,
countryName,
mainCities,
group,
rawOffsetInMinutes,
Expand Down

0 comments on commit fcea63b

Please sign in to comment.