-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nanosecond precision for playground canister acquisition timesta…
…mps (#3501) The playground backend returns acquisition timestamps with nanosecond precision, and uses nanosecond precision when looking up reserved canisters. SystemDateTime has OS-specific precision. On Linux and OSX this is nanosecond precision, but on Windows it's 100ns precision. OffsetDateTime has nanosecond precision on all platforms. The result was `dfx deploy --playground` on Windows would return a "Canister not found" error from the playground backend. Part of https://dfinity.atlassian.net/browse/SDK-1343
- Loading branch information
1 parent
6423784
commit 4aa1c83
Showing
3 changed files
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters