diff --git a/ChangeLog b/ChangeLog index 01f405d..39d1309 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -2007-01-32 Thomas Van Machelen +2007-02-06 Thomas Van Machelen + * src/Mono.Upcoming/Event.cs: more cleanup + +2007-01-31 Thomas Van Machelen * src/Mono.Upcoming/Event.cs: * src/Mono.Upcoming/Group.cs: * src/Mono.Upcoming/Venue.cs: remove some unnecessary code diff --git a/src/Mono.Upcoming/Event.cs b/src/Mono.Upcoming/Event.cs index d967183..cbb0571 100644 --- a/src/Mono.Upcoming/Event.cs +++ b/src/Mono.Upcoming/Event.cs @@ -23,8 +23,7 @@ namespace Mono.Upcoming public System.DateTime StartDate { get { - try - { + try { return System.DateTime.Parse (start_date); } catch @@ -42,8 +41,7 @@ namespace Mono.Upcoming { get { - try - { + try { return System.DateTime.Parse (end_date); } catch @@ -118,10 +116,7 @@ namespace Mono.Upcoming public bool GeocodingAmbiguous { get { - if (geocoding_ambiguous == "1") - return true; - else - return false; + return geocoding_ambiguous == "1"; } }