mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
format the date in the progress report using the invariant culture. regenerated the progress report.
This commit is contained in:
parent
ff753c906c
commit
5b38910dd5
@ -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 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!
|
- 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
|
||||||
|
|
||||||
- [album.getInfo](http://www.last.fm/api/show/album.getInfo)
|
- [album.getInfo](http://www.last.fm/api/show/album.getInfo)
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using HtmlAgilityPack;
|
using HtmlAgilityPack;
|
||||||
|
using System.Globalization;
|
||||||
|
|
||||||
namespace IF.Lastfm.Syro.Tools
|
namespace IF.Lastfm.Syro.Tools
|
||||||
{
|
{
|
||||||
@ -91,7 +92,7 @@ internal static void WriteReport(Dictionary<string, IEnumerable<string>> apiGrou
|
|||||||
{
|
{
|
||||||
var markdownBuilder = new StringBuilder();
|
var markdownBuilder = new StringBuilder();
|
||||||
var percent = GetPercentage(apiGroup, allImplemented);
|
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))
|
foreach (var group in apiGroup.OrderBy(kv => kv.Key))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user