format the date in the progress report using the invariant culture. regenerated the progress report.

This commit is contained in:
Melvyn 2015-06-20 12:37:51 +02:00
parent ff753c906c
commit 5b38910dd5
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ These are all the Last.fm API methods currently available.
- Methods ~~marked with strikethrough~~ aren't currently implemented. Pull requests are welcome!
- Methods _marked with an asterisk *_ aren't listed on [the Last.fm documentation](http://www.last.fm/api), so they might not work!
This list is generated by the [ProgressReport](src/IF.Lastfm.ProgressReport) tool in the solution. Last updated on 05 April 2015 00:02
This list is generated by the [ProgressReport](src/IF.Lastfm.ProgressReport) tool in the solution. Last updated on Saturday, 20 June 2015 10:32
## Album
- [album.getInfo](http://www.last.fm/api/show/album.getInfo)

View File

@ -5,6 +5,7 @@
using System.Net.Http;
using System.Text;
using HtmlAgilityPack;
using System.Globalization;
namespace IF.Lastfm.Syro.Tools
{
@ -91,7 +92,7 @@ internal static void WriteReport(Dictionary<string, IEnumerable<string>> apiGrou
{
var markdownBuilder = new StringBuilder();
var percent = GetPercentage(apiGroup, allImplemented);
markdownBuilder.AppendFormat(_progressReportIntro, (int)Math.Floor(percent), DateTime.UtcNow.ToString("f"));
markdownBuilder.AppendFormat(_progressReportIntro, (int)Math.Floor(percent), DateTime.UtcNow.ToString("f", CultureInfo.InvariantCulture));
foreach (var group in apiGroup.OrderBy(kv => kv.Key))
{