diff --git a/datetime.go b/datetime.go index b643c8c..755d30a 100644 --- a/datetime.go +++ b/datetime.go @@ -36,5 +36,5 @@ func (dt DateTime) Value() time.Time { // String satisfies the fmt.Stringer interface for the DateTime type // The date will returned as time.RFC3339 format func (dt DateTime) String() string { - return dt.dv.Format(time.RFC3339) + return dt.Value().Format(time.RFC3339) }