Skip to content

Commit

Permalink
Fix the wrong DateTime format expression in Flow.Topic .
Browse files Browse the repository at this point in the history
  • Loading branch information
CXuesong committed Mar 1, 2017
1 parent 0dcafcc commit 28cc47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WikiClientLibrary/Flow/Topic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected void FillFromRevision(JObject jrevision)
IsLocked = (bool) jrevision["isLocked"];
IsModerated = (bool) jrevision["isModerated"];
var expr = (string) jrevision["timestamp"];
TimeStamp = DateTime.ParseExact(expr, "yyyyMMddhhmmss", null, DateTimeStyles.AssumeUniversal);
TimeStamp = DateTime.ParseExact(expr, "yyyyMMddHHmmss", null, DateTimeStyles.AssumeUniversal);
}

/// <summary>
Expand Down

0 comments on commit 28cc47b

Please sign in to comment.