After paring a date with this value "0000-00-00"
internally the date is looking like -0001-12-31 00:00:00 +0000 UTC
so for the round trip json Unmarshal/Marshal you can get this current error :
json: error calling MarshalJSON for type iso8601.Time: Time.MarshalJSON: year outside of range [0,9999]
To keep is safe I use the default zeroed time of Go witch is 0001-01-01 00:00:00 +0000 UTC
After paring a date with this value "0000-00-00" internally the date is looking like -0001-12-31 00:00:00 +0000 UTC so for the round trip json Unmarshal/Marshal you can get this current error : json: error calling MarshalJSON for type iso8601.Time: Time.MarshalJSON: year outside of range [0,9999]
To keep is safe I use the default zeroed time of Go witch is 0001-01-01 00:00:00 +0000 UTC