-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull request for review #1
base: master
Are you sure you want to change the base?
pull request for review #1
Conversation
if will evaluate to either true or false. Start up erb on the command line. Enter "Date.today", "Date.parse('2018-6-8 On Tue, Oct 14, 2014 at 9:29 PM, daniez [email protected] wrote:
|
I'll try that, thnx. And yes, I love SO. (Where I found Date.parse!) On Tue, Oct 14, 2014 at 9:35 PM, Peter Bell [email protected]
|
Hi, Thanks for any help with the single-purpose app.
My main problem is that my app will not display on Heroku. I get error message and log mentioned in email.
Also, question about coding:
if Date.parse('2018-6-8') > Date.today
currently returns false which is strange to me.
Shouldn't Date.today < 2018-6-8?
If I set system time to 2018-6-8 or 2018-6-9
the above returns true, which is also kind of strange.
So I've set my app to say Nyet when condition is false and da when condition is true, which seems to make it display the correct webpage. But I'm not sure how the Date.parse and > operator are really working. I can look into that but I thought I'd mention it since I'm also having trouble with getting it on Heroku.