开发者

invalid rfc 3339 timestamp format?

I inserted this timestamp as par开发者_开发百科t of the blogger query:

http://www.blogger.com/feeds/26861498/posts/default?published-min=1937-01-01T12:00:27.87+08:00

It returned me an invalid pub-min format error.

But as far as I know, this time format looks alright!

can anyone help?


Morever, I can use sometihng like '12:22:00-07:00' but just not '+08:00'

Very simple error you've made: not URI-encoding the value. You see, + is actually a space in a URI, and won't reach the server as a plus unless you encode it as %2B. Use the PHP function rawurlencode or the JavaScript function encodeURIComponent to escape the argument before sending.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜