This commit is contained in:
DIYgod 2018-09-12 18:07:02 +08:00
parent 7f12c6e4dc
commit 78043ecd29
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
3 changed files with 10 additions and 4 deletions

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 |

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 |

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(),