Proof of concept for isbits (PR 2)#323
Conversation
Codecov Report
@@ Coverage Diff @@
## master #323 +/- ##
==========================================
- Coverage 93.80% 93.75% -0.05%
==========================================
Files 32 33 +1
Lines 1534 1586 +52
==========================================
+ Hits 1439 1487 +48
- Misses 95 99 +4
Continue to review full report at Codecov.
|
|
When I used this, I get: Which suggests that it is not serializing properly. I recall @JeffBezanson saying something about overloading Which seems to be true: Setup: julia> using Serialization, TimeZones
julia> zdt = ZonedDateTime(Date(2011, 6, 1), tz"America/Winnipeg")
2011-06-01T00:00:00-05:00To check if it is serializing properly we expect that the name of the timezone would occur in the serialized stream. We can see it does for if just serializing a julia> iob = IOBuffer(); serialize(Serializer(iob), zdt); occursin("Winnipeg", String(take!(iob)))
trueBut that it does not if serializing an array of julia> iob = IOBuffer(); serialize(Serializer(iob), [zdt]); occursin("Winnipeg", String(take!(iob)))
false |
|
I think the answer is we should be overloading Edit: no that isn't quite write. |
This is a rebased version of #287
(and thus also would close #271 )
I am experimenting with it again.