Skip to content

Can't use boolean options on number formatting #559

Open
@ranisalt

Description

@ranisalt

I currently have the following rule:

period = {$season ->
    [spring] Vår {NUMBER($year, useGrouping: false)}
   *[autumn] Höst {NUMBER($year, useGrouping: false)}
}

As per the docs.

However, this just doesn't work, the rule does not apply and displays the untranslated fallback. It looks like the functions don't support boolean values, every other parameter that is a string or number works. If I pass useGrouping: 0 it works, which reinforces that.

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