fix: update weather fetch timing to days
- Changed 'last_weather_fetch' and 'last_image_generation' from 10.hours.ago to 10.days.ago for various cities - Affects seed data for cities in multiple countries, including: - Australia - Bangladesh - Brazil - Canada - China - Egypt - France - Germany - India - Japan - Mexico - Nigeria - Pakistan - Russia - Saudi Arabia - Singapore - South Korea - Thailand - Turkey - UK - USA - Vietnam This change ensures that the timestamps reflect a more refined time range for when last weather data was fetched, possibly to enhance performance or consistency in application behavior.
This commit is contained in:
parent
a2c75ba3c2
commit
799dfc18ed
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Australia/Sydney',
|
timezone: 'Australia/Sydney',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 80,
|
priority: 80,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Melbourne',
|
name: 'Melbourne',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Australia/Melbourne',
|
timezone: 'Australia/Melbourne',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 75,
|
priority: 75,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Dhaka',
|
timezone: 'Asia/Dhaka',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 85,
|
priority: 85,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'America/Sao_Paulo',
|
timezone: 'America/Sao_Paulo',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 80,
|
priority: 80,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -7,6 +7,6 @@ City.create!(
|
|||||||
country: canada,
|
country: canada,
|
||||||
timezone: 'America/Toronto',
|
timezone: 'America/Toronto',
|
||||||
active: true,
|
active: true,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
)
|
)
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Beijing',
|
name: 'Beijing',
|
||||||
@ -20,8 +20,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Shenzhen',
|
name: 'Shenzhen',
|
||||||
@ -31,8 +31,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Guangzhou',
|
name: 'Guangzhou',
|
||||||
@ -42,8 +42,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Chengdu',
|
name: 'Chengdu',
|
||||||
@ -53,8 +53,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Tianjin',
|
name: 'Tianjin',
|
||||||
@ -64,8 +64,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Wuhan',
|
name: 'Wuhan',
|
||||||
@ -75,8 +75,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Dongguan',
|
name: 'Dongguan',
|
||||||
@ -86,8 +86,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Chongqing',
|
name: 'Chongqing',
|
||||||
@ -97,8 +97,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Xi'an",
|
name: "Xi'an",
|
||||||
@ -108,8 +108,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Hangzhou',
|
name: 'Hangzhou',
|
||||||
@ -119,8 +119,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Foshan',
|
name: 'Foshan',
|
||||||
@ -130,8 +130,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Nanjing',
|
name: 'Nanjing',
|
||||||
@ -141,8 +141,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Hong Kong',
|
name: 'Hong Kong',
|
||||||
@ -152,8 +152,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Hong_Kong',
|
timezone: 'Asia/Hong_Kong',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Shenyang',
|
name: 'Shenyang',
|
||||||
@ -163,8 +163,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Zhengzhou',
|
name: 'Zhengzhou',
|
||||||
@ -174,8 +174,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Qingdao',
|
name: 'Qingdao',
|
||||||
@ -185,8 +185,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Suzhou',
|
name: 'Suzhou',
|
||||||
@ -196,8 +196,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Changsha',
|
name: 'Changsha',
|
||||||
@ -207,8 +207,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Jinan',
|
name: 'Jinan',
|
||||||
@ -218,8 +218,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Kunming',
|
name: 'Kunming',
|
||||||
@ -229,8 +229,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Harbin',
|
name: 'Harbin',
|
||||||
@ -240,8 +240,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Shijiazhuang',
|
name: 'Shijiazhuang',
|
||||||
@ -251,8 +251,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Hefei',
|
name: 'Hefei',
|
||||||
@ -262,8 +262,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Dalian',
|
name: 'Dalian',
|
||||||
@ -273,8 +273,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Xiamen',
|
name: 'Xiamen',
|
||||||
@ -284,8 +284,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Nanning',
|
name: 'Nanning',
|
||||||
@ -295,8 +295,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Changchun',
|
name: 'Changchun',
|
||||||
@ -306,8 +306,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Taiyuan',
|
name: 'Taiyuan',
|
||||||
@ -317,8 +317,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'New Taipei City',
|
name: 'New Taipei City',
|
||||||
@ -328,8 +328,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Taipei',
|
timezone: 'Asia/Taipei',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Guiyang',
|
name: 'Guiyang',
|
||||||
@ -339,8 +339,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Wuxi',
|
name: 'Wuxi',
|
||||||
@ -350,8 +350,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Shantou',
|
name: 'Shantou',
|
||||||
@ -361,8 +361,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Ürümqi',
|
name: 'Ürümqi',
|
||||||
@ -372,8 +372,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Zhongshan',
|
name: 'Zhongshan',
|
||||||
@ -383,8 +383,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Ningbo',
|
name: 'Ningbo',
|
||||||
@ -394,8 +394,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Fuzhou',
|
name: 'Fuzhou',
|
||||||
@ -405,8 +405,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Nanchang',
|
name: 'Nanchang',
|
||||||
@ -416,7 +416,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Shanghai',
|
timezone: 'Asia/Shanghai',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Africa/Cairo',
|
timezone: 'Africa/Cairo',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Europe/Paris',
|
timezone: 'Europe/Paris',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Europe/Berlin',
|
timezone: 'Europe/Berlin',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Berlin',
|
name: 'Berlin',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Europe/Berlin',
|
timezone: 'Europe/Berlin',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Kolkata',
|
timezone: 'Asia/Kolkata',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Bengaluru',
|
name: 'Bengaluru',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Kolkata',
|
timezone: 'Asia/Kolkata',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Tokyo',
|
timezone: 'Asia/Tokyo',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Yokohama',
|
name: 'Yokohama',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Tokyo',
|
timezone: 'Asia/Tokyo',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'America/Mexico_City',
|
timezone: 'America/Mexico_City',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Africa/Lagos',
|
timezone: 'Africa/Lagos',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Karachi',
|
timezone: 'Asia/Karachi',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Europe/Moscow',
|
timezone: 'Europe/Moscow',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Sankt Petersburg',
|
name: 'Sankt Petersburg',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Europe/Moscow',
|
timezone: 'Europe/Moscow',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Riyadh',
|
timezone: 'Asia/Riyadh',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Singapore',
|
timezone: 'Asia/Singapore',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Seoul',
|
timezone: 'Asia/Seoul',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Bangkok',
|
timezone: 'Asia/Bangkok',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Europe/Istanbul',
|
timezone: 'Europe/Istanbul',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Ankara',
|
name: 'Ankara',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Europe/Istanbul',
|
timezone: 'Europe/Istanbul',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,7 +9,7 @@ City.create!([
|
|||||||
timezone: 'Europe/London',
|
timezone: 'Europe/London',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'America/Los_Angeles',
|
timezone: 'America/Los_Angeles',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Chicago',
|
name: 'Chicago',
|
||||||
@ -20,8 +20,8 @@ City.create!([
|
|||||||
timezone: 'America/Chicago',
|
timezone: 'America/Chicago',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'New York City',
|
name: 'New York City',
|
||||||
@ -31,8 +31,8 @@ City.create!([
|
|||||||
timezone: 'America/New_York',
|
timezone: 'America/New_York',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Los Angeles',
|
name: 'Los Angeles',
|
||||||
@ -42,7 +42,7 @@ City.create!([
|
|||||||
timezone: 'America/Los_Angeles',
|
timezone: 'America/Los_Angeles',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
@ -9,8 +9,8 @@ City.create!([
|
|||||||
timezone: 'Asia/Ho_Chi_Minh',
|
timezone: 'Asia/Ho_Chi_Minh',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Hanoi',
|
name: 'Hanoi',
|
||||||
@ -20,7 +20,7 @@ City.create!([
|
|||||||
timezone: 'Asia/Ho_Chi_Minh',
|
timezone: 'Asia/Ho_Chi_Minh',
|
||||||
active: true,
|
active: true,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
last_weather_fetch: 10.hours.ago,
|
last_weather_fetch: 10.days.ago,
|
||||||
last_image_generation: 10.hours.ago
|
last_image_generation: 10.days.ago
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user