[blam] ItemView: PublishDate is a DateTimeOffset
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] ItemView: PublishDate is a DateTimeOffset
- Date: Fri, 15 Oct 2010 10:18:31 +0000 (UTC)
commit d2e75afd8101205cbea22f017b118047c6fb6785
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Fri Oct 15 12:17:42 2010 +0200
ItemView: PublishDate is a DateTimeOffset
src/ItemView.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ItemView.cs b/src/ItemView.cs
index fdafa8c..20dc6ba 100644
--- a/src/ItemView.cs
+++ b/src/ItemView.cs
@@ -105,7 +105,7 @@ namespace Imendio.Blam {
author = " ";
}
string link = Catalog.GetString("Show in browser");
- string pubdate = (!currentItem.PublishDate.Equals(DateTime.MinValue)) ?
+ string pubdate = (!currentItem.PublishDate.Equals(DateTimeOffset.MinValue)) ?
currentItem.PublishDate.ToString("D", System.Globalization.CultureInfo.CurrentUICulture) : " ";
string text = HtmlUtils.EncodeUnicode(HtmlUtils.FixMarkup((currentItem.exposed_text as TextSyndicationContent).Text));
string title = HtmlUtils.Escape(currentItem.Title.Text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]