Skip to content

Manually specify tz on parsed time from blockchain#48

Merged
xeroc merged 1 commit intobitshares:developfrom
HarukaMa:patch-1
Mar 14, 2018
Merged

Manually specify tz on parsed time from blockchain#48
xeroc merged 1 commit intobitshares:developfrom
HarukaMa:patch-1

Conversation

@HarukaMa
Copy link
Copy Markdown
Contributor

Python's datetime is "naive" and does not contain timezone info by default, and calling timestamp() on UTC time could result in timestamps with wrong time offset (depends on current system timezone). We need to manually specify UTC as timezone to get correct timestamps.

Python's `datetime` is "naive" and does not contain timezone info by default, and calling `timestamp()` on UTC time could result in timestamps with wrong time offset (depends on current system timezone). We need to manually specify UTC as timezone to get correct timestamps.
@xeroc xeroc changed the base branch from master to develop March 14, 2018 08:51
@xeroc xeroc merged commit 40bd616 into bitshares:develop Mar 14, 2018
@xeroc
Copy link
Copy Markdown
Member

xeroc commented Mar 14, 2018

Thank you!

xeroc added a commit that referenced this pull request Mar 14, 2018
Release 0.1.12

9250544 (HEAD -> master) Merge branch 'release/0.1.12'
8e34bbc (release/0.1.12) version bump
eba7742 (develop) fix linting
40bd616 (origin/develop) Merge pull request #48 from HarukaMa/patch-1
0b2a89c Merge pull request #57 from blockchainprojects/fix_blockchain_monitor
355e89b fixes blockchain block listener
4364164 [wallet] Allow to wipe the keys and masterkey without knowledge of the masterpasword
0b41559 Allow to use https:// endpoints via REST HTTP
935bf19 fix proposer signing
596e88e Use proposer to sign a proposal and not the account
85eca5f Manually specify tz on parsed time from blockchain
fd2e8aa [instance] set shared config
358413c fix #42
8a556c0 [operation] allow to create a new committee member with pybitshares
7dba22e Add withdraw_permission_create
bca74f2 Merge pull request #41 from mikakoi/closing-socket-connection
47a7e94 [docs] Updated docs and build process for docs
02add28 [docs] use sphinx-api to generate bitshares.rst
1714fdc [Makefile] create docs via makefile
eef3d43 [travis] try fix a bug that causes tests to break
55c5330 README - updates to add some badges
44a9a15 [logo] pybitshares logo
904813f Change websocket ping thread closing to be more responsive
8280ae8 Revert "Version bump"
d46d526 Version bump
cb8dc20 Add the ability to close the websocket connection
@HarukaMa HarukaMa deleted the patch-1 branch July 22, 2018 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants