Skip to content
This repository was archived by the owner on May 23, 2019. It is now read-only.
This repository was archived by the owner on May 23, 2019. It is now read-only.

zero values not rendering #144

@benmonro

Description

@benmonro

i have a use case like this:

var intl = require("intl-messageformat");

var myThing = new intl("{counter} times", "en-us");
console.log(myThing.format({counter:0}))

the result of this will be " times" but I'd expect it to be "0 times"

is this a bug or on purpose?

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