-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proof of concept for isbits (PR 2) #323
base: master
Are you sure you want to change the base?
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:00 To 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)))
true But 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.