Skip to content

Android Chrome - wrong date of notification #11

@obagley

Description

@obagley

Noticed a problem with notification date on Android Chrome. It pops up with 18-01-1970 date, instead of the time of the day as for other Android notifications. 18 clearly comes from the 2018 year.

For now the workaround I found is to replace this line

timestamp: data.time,

with
timestamp: Date.now(),

This gave the correct behaviour with the time of the day in the Android Chrome notifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions