This commit is contained in:
DIYgod
2018-09-12 18:07:02 +08:00
parent 7f12c6e4dc
commit 78043ecd29
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1723,7 +1723,7 @@ GitHub 官方也提供了一些 RSS:
- platform
| 桌面 | Android | Beta | Nightly | Android Beta | ESR |
| 桌面 | Android | Beta | Nightly | Android Beta | ESR |
| ------- | ------- | ---- | ------- | ------------ | ------------- |
| desktop | android | beta | nightly | android-beta | organizations |
+1 -1
View File
@@ -168,7 +168,7 @@ Parameters:
- platform
| Desktop | Android | Beta | Nightly | Android Beta | ESR |
| Desktop | Android | Beta | Nightly | Android Beta | ESR |
| ------- | ------- | ---- | ------- | ------------ | ------------- |
| desktop | android | beta | nightly | android-beta | organizations |
+8 -2
View File
@@ -22,8 +22,14 @@ module.exports = async (ctx) => {
.text()} release note`,
link: `https://www.mozilla.org/en-US/firefox/${ctx.params.platform}/notes/`,
description: $('.notes-section').html(),
guid: $('.version').find('h2').text(),
pubDate: new Date($('.version').find('p').text()).toUTCString(),
guid: $('.version')
.find('h2')
.text(),
pubDate: new Date(
$('.version')
.find('p')
.text()
).toUTCString(),
},
],
description: $('.description').text(),