Problem Creating Events with Timezones > GMT

24 views
Skip to first unread message

Richard Rauser

unread,
Feb 18, 2009, 8:26:16 AM2/18/09
to Dipity Developer API Discussions

Hi all,

I've recently begun working with the Dipity API and I'm having an
issue I hope you can help with. I live and work in the UK which uses
Greenwich Mean Time. I have found that I cannot create events using
the Dipity API for the GMT timezone unless I specifically set the
timezone to "-00:00" rather than "+00:00", and furthermore I cannot
create events for any timezone that is ahead of GMT, e.g.
"+01:00" (Paris), or "+02:00" (Helsinki).

To summarize, I can create events fine for dates with the format:
2009-02-09T09:58:29-01:00

If the only thing I change for such an event is the timstamp, from the
"-" to a "+" as follows:
2009-02-09T09:58:29+01:00

Then the event cannot be created and I receive an HTTP response with
status code 403 (Forbidden).


Note that I have ported your PHP SDK to Java and so I'm wondering if
perhaps the way I'm generating the signature is incorrect, but I doubt
this as I am able to create events without error for all time zones
less than GMT. Also I am able to create timelines without issue. In
case something is awry with the signature hashing algorithm I have
included the output of this here:

2009-02-18 13:14:08,794 INFO [http-80-2]
com.procinity2.utils.dipity.DipityRestClient (DipityRestClient.java:
602) - Sig params =
5e8fea074afe71b06f7c9fd4454147a1timestamp2009-02-09T09:58:29+01:00titleTesting
Encounters
2009-02-18 13:14:08,794 INFO [http-80-2]
com.procinity2.utils.dipity.DipityRestClient (DipityRestClient.java:
605) - Signature = 84d50b3d6aebf67c65ccc7887da0b7cf


Thanks for any help,
Rich

BK

unread,
Feb 20, 2009, 4:18:34 PM2/20/09
to Dipity Developer API Discussions
Hi Richard, thanks for writing us about this. We'll take a look at
the timezone issue.

In the mean time, can you check to make sure you're urlcoding the '+'
sign in the date string?

Thanks
BK

Richard Rauser

unread,
Mar 17, 2009, 6:53:10 AM3/17/09
to Dipity Developer API Discussions

Hi BK,

Yes the date string is being entirely URLEncoded.

Cheers,
Rich
Reply all
Reply to author
Forward
0 new messages