JavaScript Parse Push Notification Include Users TimeZone in Push-Time parse push notification android,parse push notification ios,parse push

Is it possible to include the users' timezone if I want to send a push notification containing a datetime?

Parse.Push.send({
    where: query, // Set our Installation query
    data: {
        type: 2, // new applications push
        applicationID: applicationID,
        startTime: startTime,
        "alert" : {
            "title-loc-key": "SUCCESSFUL_TITLE",
            "loc-key": "SUCCESSFUL_MESSAGE",
            "loc-args": [startTime]
        },
        "sound": "default",
        "content-available" : "1",
        "badge" : 'Increment'
    }

So the push message displays a time like "[some text] at 01.02.2016, 19:00 Uhr". I hardcoded a timezone with moment.js in the cloudcode - but for the future, different users from different regions should get date and time information in their respective timezones... Is it possible to achieve this with the Parse.Push call and without manual iteration over the Installation table?

Answer:1

I know there are many techniques and methods to comparing two Strings, and find out if two Strings are equal or not. I want to do something like this: Var Str1 = "Hello How are you?"; var Str2 = "...

I know there are many techniques and methods to comparing two Strings, and find out if two Strings are equal or not. I want to do something like this: Var Str1 = "Hello How are you?"; var Str2 = "...

just wondering, what is the most efficient way to divide an array by a scalar? I can clearly loop over it, but efficiency is paramount in my case. common trivial way: var array_2 = [] var array_1 = ...

just wondering, what is the most efficient way to divide an array by a scalar? I can clearly loop over it, but efficiency is paramount in my case. common trivial way: var array_2 = [] var array_1 = ...

I have 2 types of a objects, a group, and an item. A group can have children which is either an array of groups or an array of items. I've ended up with a series of nested groups (which can be ...

I have 2 types of a objects, a group, and an item. A group can have children which is either an array of groups or an array of items. I've ended up with a series of nested groups (which can be ...

I want to get the values of all input at once using one .val() function in jQuery. $("#txt1").val(); $("#txt2").val(); $("#txt3").val(); Instead of this I want to write the below code $("#txt1, #...

I want to get the values of all input at once using one .val() function in jQuery. $("#txt1").val(); $("#txt2").val(); $("#txt3").val(); Instead of this I want to write the below code $("#txt1, #...

  1. multiple values input html
  2. multiple values input python
  3. multiple values input
  4. multiple values input angular
  5. multiple values input jquery
  6. multiple values in input field
  7. multiple values in input parameter
  8. pass multiple values input
  9. php multiple values input
  10. take multiple values input
  11. multiple values in one input field
  12. multiple values in hidden input
  13. multiple input values javascript