diff --git a/GECO/GECO.vbproj b/GECO/GECO.vbproj index 3193f99..27bdc5f 100644 --- a/GECO/GECO.vbproj +++ b/GECO/GECO.vbproj @@ -456,6 +456,7 @@ + diff --git a/GECO/Permits/Default.aspx b/GECO/Permits/Default.aspx index 85c2928..ce6f0d5 100644 --- a/GECO/Permits/Default.aspx +++ b/GECO/Permits/Default.aspx @@ -41,9 +41,10 @@ - - - + + + + diff --git a/GECO/_DAL/NullableDates.vb b/GECO/_DAL/NullableDates.vb new file mode 100644 index 0000000..e80bbb0 --- /dev/null +++ b/GECO/_DAL/NullableDates.vb @@ -0,0 +1,12 @@ +Imports GaEpd + +Module NullableDates + Public Function GetNullableDateTime(obj As Object) As DateTime? + Dim newDate As Date? = DBUtilities.GetNullableDateTime(obj) + If newDate IsNot Nothing AndAlso newDate = New Date(1776, 7, 4) Then + Return Nothing + End If + Return newDate + End Function + +End Module