mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-27 10:14:59 +03:00
[script] update date display badge
This commit is contained in:
parent
1b420a031b
commit
994abad0ef
1
.github/osia_convert.rb
vendored
1
.github/osia_convert.rb
vendored
@ -128,6 +128,7 @@ end
|
||||
def output_badges(count)
|
||||
date = DateTime.now
|
||||
date_display = date.strftime "%B %e, %Y"
|
||||
date_display = date_display.gsub ' ', '%20'
|
||||
|
||||
b = "![](https://img.shields.io/badge/Projects-#{count}-green.svg) [![](https://img.shields.io/badge/Twitter-@opensourceios-blue.svg)](https://twitter.com/opensourceios) ![](https://img.shields.io/badge/Updated-#{date_display}-lightgrey.svg)"
|
||||
b
|
||||
|
Loading…
Reference in New Issue
Block a user