We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044021c commit 67bd001Copy full SHA for 67bd001
Source/FikaAmazonAPI/ConstructFeed/Messages/CartonContentsRequest.cs
@@ -46,7 +46,7 @@ public class CartonItem
46
[XmlElement(ElementName = "ExpirationDate")]
47
public string ExpirationDateFormatted
48
{
49
- get { return this.ExpirationDate.Value.ToString("yyyy-MM-dd"); }
+ get { return this.ExpirationDate.HasValue ? this.ExpirationDate.Value.ToString("yyyy-MM-dd") : null; }
50
set { this.ExpirationDate = DateTime.Parse(value); }
51
}
52
0 commit comments