Skip to content

fix parser of time in convert_result method#249

Merged
chanks merged 1 commit intoque-rb:masterfrom
Pepan:fix-convert-result-time
Jun 28, 2019
Merged

fix parser of time in convert_result method#249
chanks merged 1 commit intoque-rb:masterfrom
Pepan:fix-convert-result-time

Conversation

@Pepan
Copy link
Copy Markdown
Contributor

@Pepan Pepan commented Jun 26, 2019

There is trouble on macOS, Rails 6 RC1 with (PostgreSQL) 11.3
Timestamp "run_at" is already returned as Time, not as String which is currently expected.

  • changed direct method call to lambda with guard and original method call
  • handled situation when value is already of a Time class by adding guard

- changed direct method call to lambda with guard and original method call
- handled situation when value is already of a Time class by adding guard
@chanks chanks merged commit 87d40e7 into que-rb:master Jun 28, 2019
@chanks
Copy link
Copy Markdown
Collaborator

chanks commented Jun 28, 2019

Merged, thanks!

s0meone added a commit to zilverline/que that referenced this pull request Oct 23, 2019
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