Skip to content

dataSource value passed to moment function does not render properly #40

@RaphiStein

Description

@RaphiStein

I created an HTML widget and in the HTML section, I put the following code:

<p>Date: #{openingDate}</p>
<p>Date: ${moment(#{openingDate}).format('YYYY-MM-DD')}</p>

Expected Output:

Date: 2015-10-15T00:05:32.000Z
Date: 2015-10-15

Actual Output:

Date: 2015-10-15T00:05:32.000Z
Date: ${moment(#{openingDate}).format('YYYY-MM-DD')}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions