Skip to content

WIP: Refactor attempt to move t === timePkg.Time check out. #293

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

Merged
merged 1 commit into from
Sep 2, 2015

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Sep 1, 2015

Attempt to follow suggestion in #287 (comment).

Not quite sure it's an improvement at this time, but maybe it just needs more work?

No handling of null or undefined values instead of Date. Also no support for *time.Time at this time.

Feel free to make changes as you see fit here. This is a PR into PR #288 (branch fix-287).

Refactor based on suggestion at
#287 (comment).

Panic on null or undefined values instead of Date, no support for
*time.Time.

Remove unneeded declaration. The same variable is already declared in
parent scope.
@dmitshur dmitshur force-pushed the fix-287-refactor-attempt-1 branch from 81cc5d8 to fc96db6 Compare September 2, 2015 06:33
@dmitshur dmitshur merged commit fc96db6 into fix-287 Sep 2, 2015
@dmitshur dmitshur deleted the fix-287-refactor-attempt-1 branch September 2, 2015 06:34
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.

1 participant