benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.8k stars 2.73k forks source link

Error publishing to blogger #839

Open jwarkentin opened 9 years ago

jwarkentin commented 9 years ago

When I try to publish to Blogger I get an error that says s.toISOString() is not a function and then it just times out. Here's an image with the error, stack trace, file and line number:

stackedit error

Also, this might be helpful for context:

stackedit error 2

benweet commented 9 years ago

I guess the date in your YAML front matter is wrong. Did you try something like 2015-07-13?

On Mon, Jul 13, 2015 at 7:13 PM, Justin Warkentin notifications@github.com wrote:

When I try to publish to Blogger I get an error that says s.toISOString() is not a function. Here's an image with the error, stack trace, file and line number:

[image: stackedit error] https://cloud.githubusercontent.com/assets/1084024/8657045/944a1fbc-2958-11e5-9a72-54e8967273df.png

— Reply to this email directly or view it on GitHub https://github.com/benweet/stackedit/issues/839.

jwarkentin commented 9 years ago

Ah, that did the trick. I had 1/25/2013 which used to work. I was just updating a very old post. Apparently it's also important to put a time component, otherwise it treats it like it's UTC and does a local time conversion. So it's not enough to do 2013-01-25 in this case since that gets converted to 2013-01-24 17:00:00. I had to do 2013-10-25 00:00:00.