Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Get timezone directly. Fixes #2287. #2288

Merged
merged 1 commit into from
Nov 13, 2014
Merged

Get timezone directly. Fixes #2287. #2288

merged 1 commit into from
Nov 13, 2014

Conversation

msjyoo
Copy link
Member

@msjyoo msjyoo commented Nov 13, 2014

This PR changes systeminfo to wmic timezone get Caption to get the timezone directly. Previous method was to use systeminfo, which took a long time loading hotpaches etc. just to get a timezone. This new method bypasses the unneeded delay in startup by extracting the timezone data only.

Discuss.

@msjyoo
Copy link
Member Author

msjyoo commented Nov 13, 2014

This has been tested on Windows 8.1 Pro - and it works correctly.

@msjyoo msjyoo added this to the Alpha_1.4 milestone Nov 13, 2014
@msjyoo msjyoo self-assigned this Nov 13, 2014
msjyoo added a commit that referenced this pull request Nov 13, 2014
Get timezone directly. Fixes #2287.
@msjyoo msjyoo merged commit ca40bb6 into PocketMine:master Nov 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant