Skip to content

Commit

Permalink
Fix display of sync time
Browse files Browse the repository at this point in the history
  • Loading branch information
MattDavies committed May 28, 2014
1 parent 3e3ce04 commit 15573ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
else
{
@ViewHelpers.OutputSyncTime(syncStatus.SyncTime.Value)
@ViewHelpers.OutputSyncTime(syncStatus.SyncTime)
}
if (syncStatus.SyncStatus == "Error")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AzureWebFarm.ControlPanel.Areas.ControlPanel.Views
{
public static class ViewHelpers
{
public static IHtmlString OutputSyncTime(DateTime timestamp)
public static IHtmlString OutputSyncTime(DateTimeOffset timestamp)
{
var time = new TagBuilder("time");
time.Attributes.Add("title", timestamp.ToString("o") + " GMT");
Expand Down

2 comments on commit 15573ff

@MRCollectiveCI
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity AzureWebFarm :: Continuous Integration Build 93 is now running

@MRCollectiveCI
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity AzureWebFarm :: Continuous Integration Build 1.0.0-beta.1+58 outcome was SUCCESS
Summary: Tests passed: 67 Build time: 0:0:0

Please sign in to comment.