Skip to content

Implement Date.prototype.toJSON() #455

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
Jul 24, 2015

Conversation

rtakacs
Copy link
Contributor

@rtakacs rtakacs commented Jul 23, 2015

No description provided.

@dbatyai dbatyai added ecma builtins Related to ECMA built-in routines development Feature implementation labels Jul 23, 2015
@dbatyai dbatyai added this to the ECMA builtins milestone Jul 23, 2015
@@ -1097,7 +1098,7 @@ ecma_builtin_date_prototype_to_utc_string (ecma_value_t this_arg) /**< this argu
* Returned value must be freed with ecma_free_completion_value.
*/
static ecma_completion_value_t
ecma_builtin_date_prototype_to_iso_string (ecma_value_t this_arg) /**< this argument */
ecma_builtin_date_prototype_to_iso_string (ecma_value_t this_arg __attr_unused___) /**< this argument */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to add unused attribute here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops. Fixed.

@galpeter
Copy link
Contributor

looks good to me

}

ECMA_FINALIZE (tv)
ECMA_FINALIZE (obj)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add semicolons at end of the lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@egavrin
Copy link
Contributor

egavrin commented Jul 24, 2015

Good to me

@dbatyai
Copy link
Member

dbatyai commented Jul 24, 2015

lgtm

@ruben-ayrapetyan
Copy link
Contributor

Looks good to me

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
@dbatyai dbatyai merged commit ed16f09 into jerryscript-project:master Jul 24, 2015
@galpeter galpeter mentioned this pull request Jul 24, 2015
50 tasks
@rtakacs rtakacs deleted the date_tojson branch January 18, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Feature implementation ecma builtins Related to ECMA built-in routines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants