Hi,

i using gomoob/php-pushwoosh and method $notification = Notification::create()->setSendDate('2015-08-10 17:30'); dont work.

["notifications"]=> array(1) { [0]=> array(5) { ["ignore_user_timezone"]=> bool(true) ["send_date"]=> string(16) "2015-08-10 17:30" ["content"]=> string(50) "teste" ... } }

asked 10 Aug '15, 21:29
ishidaricardo's gravatar image

ishidaricardo
111

Hi. Please note that gomoob library is third-party, and we do not officially support it. You might want to refer to our PHP sample of /createmessage request (scroll down and choose PHP right above the code block).

permanent link
answered 11 Aug '15, 13:02
Benedict's gravatar image

Benedict
7127

You are setting send date to '2015-08-10 17:30' and it IS 17:30 after print_r() call. So it works fine here.

But check that you are sending timestamp in UTC timezone. If problem still exists, send me MessageCode(or message id) of created message

permanent link
answered 11 Aug '15, 13:10
neon's gravatar image

neon
312

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×120
×83
×33
×4

question asked: 10 Aug '15, 21:29

question was seen: 852 times

last updated: 11 Aug '15, 13:10