mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Change the release date format on the plugin doc template
The new format will be this one: February 7, 2017 Fixes #6717
This commit is contained in:
parent
bf90e7e193
commit
080c8ac8bf
1 changed files with 2 additions and 1 deletions
|
@ -81,8 +81,9 @@ module LogStash module Docgen
|
|||
gemspec.version.to_s
|
||||
end
|
||||
|
||||
def release_date(format = "%Y-%m-%d")
|
||||
def release_date(format = "%B %-d, %Y")
|
||||
@release_date ||= begin
|
||||
|
||||
response = open("https://rubygems.org/api/v1/versions/#{canonical_name}.json").read
|
||||
# HACK: One of out default plugins, the webhdfs, has a bad encoding in the gemspec
|
||||
# which make our parser trip with this error:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue