Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Add IgnoreTimeLocation option#42

Open
dejan-lokar wants to merge 1 commit intomitchellh:masterfrom
cookieai-jar:master
Open

Add IgnoreTimeLocation option#42
dejan-lokar wants to merge 1 commit intomitchellh:masterfrom
cookieai-jar:master

Conversation

@dejan-lokar
Copy link

Add IgnoreTimeLocation option; when set the hash of a time.Time value is stable regardless of the location it is displayed in. This is useful when timestamps are serialized using msgpack as it discards location information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants