Skip to content
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

45 timezone #47

Merged
merged 2 commits into from
May 27, 2015
Merged

45 timezone #47

merged 2 commits into from
May 27, 2015

Conversation

shunjikonishi
Copy link
Contributor

#45

Timezone bugfix

IssueListOption and IssueListOption4Repository class have q method.
This method serialize datetime with TimeZone. (e.g. 2015-05-25T10:00:00+0900)

But maybe GitHub service doesn't recognize TimeZone.
So, we have to serialize datetime always as UTC.

Rewrite Option#get

Option#get is not recommended in production code.
Though I usually use Option#get in test code, I never use this method in production code.
It is better to use getOrElse or pattern match.

@fanwashere review me

@fanwashere
Copy link
Contributor

LGTM

@givery givery assigned shunjikonishi and unassigned fanwashere May 27, 2015
shunjikonishi added a commit that referenced this pull request May 27, 2015
@shunjikonishi shunjikonishi merged commit 11ffa3a into master May 27, 2015
@shunjikonishi shunjikonishi deleted the 45-timezone branch May 27, 2015 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants