Skip to content

Does the nodejs12.x runtime include full-icu? #183

@styfle

Description

@styfle

I don't see this documented anywhere, but a quick test makes me think that AWS Lambda is using a custom build of Node.js with full icu.

console.log(new Intl.DateTimeFormat('en-GB').format(new Date('2015-05-30')));
// prints the expected "30/05/2015"

Can this feature be relied upon?

Node.js Docs: https://nodejs.org/docs/latest-v12.x/api/intl.html#intl_embed_the_entire_icu_full_icu
AWS Lambda Docs: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions