From e533c28f9d17b65578678bfd8face61342f8c45d Mon Sep 17 00:00:00 2001 From: zhouzhongping Date: Wed, 15 Nov 2023 17:39:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=EF=BC=9A2023=20=E5=B9=B4=201?= =?UTF-8?q?1=20=E6=9C=88=2015=20=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Journal/2023/W46/2023-11-15.md | 45 ++++++++++++++++++++++++++++++++++ Static/wttr_weather.js | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 Journal/2023/W46/2023-11-15.md diff --git a/Journal/2023/W46/2023-11-15.md b/Journal/2023/W46/2023-11-15.md new file mode 100644 index 00000000..980d354a --- /dev/null +++ b/Journal/2023/W46/2023-11-15.md @@ -0,0 +1,45 @@ +## 📅 Info + +| Date | Weather | Moon | +| -------------- | ------------ | ---- | +| 周三 17:33 | 郑州 +12°C 🌫 | 🌒 | + +## 📖 Daily + +昨夜闲潭梦落花,可怜春半不还家。——张若虚(唐代) + +## 😊 Emotions + +- [ ] 😊 Happy +- [ ] 😢 Sad +- [ ] 😡 Angry +- [x] 😔 Disappointed +- [ ] 😂 Laughing +- [ ] 😭 Crying +- [ ] 😱 Scared + +## 🍎 Habits + +- [ ] 🌅 Early to bed, early to rise +- [ ] 🥕 Healthy eating +- [x] ☕️ Drink more hot water +- [ ] 💪 Keep exercising +- [ ] 🧘‍♂️ Meditation + +## 📋 To-do List + +- [ ] 📰 Read news +- [x] 📖 Read a book today +- [x] 📝 Make a plan for today +- [ ] 🖋️ Calligraphy practice +- [ ] 🎯 deliberate practice + +## 📝 Notes + +这几天天气很差,步入冬天也变得更懒了。 + +方向不变,目前主要任务:明年毕业及学习英语,技术方面主要设计企业信息化建设以及成果整理。 + +对了,还有写作! + +小周继续冲冲冲! diff --git a/Static/wttr_weather.js b/Static/wttr_weather.js index b34ac7bd..d31d5f0f 100644 --- a/Static/wttr_weather.js +++ b/Static/wttr_weather.js @@ -10,7 +10,7 @@ function getWeather(city = 'Shanghai', params = 'format=3') { return new Promise((resolve, reject) => { const timeout = setTimeout(() => { reject(new Error('Request timed out')); - }, 5000); // 设置5秒的请求超时 + }, 15000); // 设置15秒的请求超时 https.get(`https://wttr.in/${encodeURIComponent(city)}?${params}`, (resp) => { let data = '';