Closed miha-plesko closed 7 years ago
@gberginc I'd kindly ask for a review on this one as well since https://github.com/mikelangelo-project/capstan/pull/56 depends on it.
Instead of ?
please use N/A
(update commit msg as well).
My first thought when I saw the commit message with the example, was that ?
implies WTF
to me 😄.
Other than that, we are fine and will merge it upon receiving the update.
Done. I've amended the commit as it's a very simple one.
Done, I've updated the PR description. I did update the commit message, but somehow forget about PR description.
Oh, sorry, I missed that it was only PR description. Thanks!
Currently, if we are marshalling a package with nil value for 'created' attribute, a zero timestamp gets written:
which is wrong. With this commit we rather marshall nil value into a N/A:
so that unmarshalling results into a nil date again, and not the zero one.