Skip to content

Add js Date marshalling from rb Time - #12

Merged
SamSaffron merged 6 commits into
rubyjs:masterfrom
comcode-org:master
May 26, 2016
Merged

SamSaffron merged 6 commits into
rubyjs:masterfrom
comcode-org:master

Conversation

@seanmakesgames

Copy link
Copy Markdown
Contributor

No description provided.

@seanmakesgames

Copy link
Copy Markdown
Contributor Author

also, this is my first open-source contribution-- feedback is much appreciated!

@SamSaffron

Copy link
Copy Markdown
Collaborator

this looks great! it would be nice to support DateTime -> JS as well if possible cause it is fairly common for Rails apps, that said perfectly happy to merge this and great change!!!

👍

@seanmakesgames

Copy link
Copy Markdown
Contributor Author

Thanks @SamSaffron I can add that probably as well. Discussion needs to be had on that however, because it would be only one-way atm (there's only Date() on the JS side, so we'd be coming back as Time)

@SamSaffron

Copy link
Copy Markdown
Collaborator

I think one way is fine for this case, the timezone thing gets a bit hairy
so whatever we do we should document in the readme.

On Thu, May 26, 2016 at 11:41 AM, seanmakesgames notifications@github.com
wrote:

Thanks @SamSaffron https://github.com/SamSaffron I can add that
probably as well. Discussion needs to be had on that however, because it
would be only one-way atm (there's only Date() on the JS side, so we'd be
coming back as Time)

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#12 (comment)

@SamSaffron
SamSaffron merged commit 3865e94 into rubyjs:master May 26, 2016
@pan pan mentioned this pull request Mar 2, 2019
cataphract added a commit to cataphract/mini_racer that referenced this pull request May 6, 2020
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