Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NuGet/NuGetGallery#1965 by restoring commit metadata #1966

Merged
merged 2 commits into from
Mar 17, 2014

Conversation

analogrelay
Copy link
Contributor

Fixes #1965 by restoring commit metadata. See screenshot below:

image

@@ -155,7 +155,7 @@
}

if(ver.BuildDateUtc != DateTime.MinValue) {
@: Built at @ver.BuildDateUtc.ToNuGetShortDateTimeString().
@: Built at <span class="s-localtime" data-utc="@ver.BuildDateUtc.ToString("O")">@ver.BuildDateUtc.ToShortDateString()</span>.
Copy link
Member

Choose a reason for hiding this comment

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

Why not ToNuGetShortDateTimeString() anymore?

Copy link
Member

Choose a reason for hiding this comment

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

Ah, because you're converting to local time on the client.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, though I will restore the ToNuGetShortDateTimeString because the content of the Span is what is shown if JavaScript is disabled :). I got tired of doing math so I wanted to get the build date in to local time :P

@jeffhandley
Copy link
Member

:shipit:

analogrelay added a commit that referenced this pull request Mar 17, 2014
@analogrelay analogrelay merged commit f157178 into master Mar 17, 2014
@analogrelay analogrelay deleted the anurse/1965-commitmetadata branch April 18, 2014 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show Commit Metadata from assembly on footer
2 participants