[script] update date display badge

This commit is contained in:
Daniel Khamsing 2017-03-21 07:51:59 -07:00
parent 1b420a031b
commit 994abad0ef

View File

@ -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