[longomatch] Return start time for events without event time
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Return start time for events without event time
- Date: Mon, 2 Feb 2015 17:03:11 +0000 (UTC)
commit 118a95b4048fae0f5d1869f9b092ab9b9ffb011c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Feb 2 18:00:31 2015 +0100
Return start time for events without event time
LongoMatch.Core/Store/TimeNode.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/TimeNode.cs b/LongoMatch.Core/Store/TimeNode.cs
index 19acaab..5a8bc63 100644
--- a/LongoMatch.Core/Store/TimeNode.cs
+++ b/LongoMatch.Core/Store/TimeNode.cs
@@ -85,7 +85,7 @@ namespace LongoMatch.Core.Store
/// </summary>
public Time EventTime {
get {
- return eventTime;
+ return eventTime ?? start;
}
set {
eventTime = value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]