Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Interpolate message, title to correct UTC (ISO 8601) #407

Open
cdorner opened this issue Dec 10, 2015 · 0 comments
Open

Interpolate message, title to correct UTC (ISO 8601) #407

cdorner opened this issue Dec 10, 2015 · 0 comments

Comments

@cdorner
Copy link
Contributor

cdorner commented Dec 10, 2015

In my app I send to several devices messages that contain a date, this date on the server is stored in UTC, I can't format the message using the timezone of the server because this same message sent to a bunch of devices on different time zones.

What if we create a way to interpolate the message, title whatever, to consider the user timezone.

Something like that....

message = "Hey your appointment is at [date:'UTC_DATE_HERE']"

interpolate becoming

message = 'Hey your appointment is at 2015-12-14 13:00'

cdorner added a commit to cdorner/phonegap-plugin-push that referenced this issue Dec 23, 2015
cdorner added a commit to cdorner/phonegap-plugin-push that referenced this issue Dec 23, 2015
cdorner added a commit to cdorner/phonegap-plugin-push that referenced this issue Jan 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants