taps

Error when pushing data to Heroku: time zone displacement out of range

六月ゝ 毕业季﹏ 提交于 2019-11-27 08:35:19
I run the following command to push the contents of my local database to Heroku: heroku db:push --app my-app From my home computer this works flawlessly but from my work computer I get this error: Taps Server Error: PGError: ERROR: time zone displacement out of range: "2011-11-15 12:00:00.000000+5894114400" I'm not sure where that date is coming from, I can't find it in the data anywhere. Any ideas what's going on and/or how to fix it? Using Ruby 1.9.2-p290 instead of 1.9.3-p0 fixed it for me. According to Roger Braun , this is the reason: The problem is (I think), that marshalling changed

filtering single and double taps

为君一笑 提交于 2019-11-27 01:51:53
问题 When the user single taps my view, i need one specific method to run. When the user double taps, i need another method do take place. The problem is that the double tap triggers the single tap, and it introduce bugs in my logic. I can't use UIGestureRecognizer because i need to keep track of the points. I try some booleans, but no chance. I also tried the cancel/perfomSelector-delay technique, but it does not work (that's strange because other folks on other forums said it works, maybe the

Error when pushing data to Heroku: time zone displacement out of range

心不动则不痛 提交于 2019-11-26 17:45:59
问题 I run the following command to push the contents of my local database to Heroku: heroku db:push --app my-app From my home computer this works flawlessly but from my work computer I get this error: Taps Server Error: PGError: ERROR: time zone displacement out of range: "2011-11-15 12:00:00.000000+5894114400" I'm not sure where that date is coming from, I can't find it in the data anywhere. Any ideas what's going on and/or how to fix it? 回答1: Using Ruby 1.9.2-p290 instead of 1.9.3-p0 fixed it