lbguilherme / crystal

The Crystal Programming Language
http://crystal-lang.org
Apache License 2.0
1 stars 0 forks source link

get current time: Time.now, Time.utc_now #4

Closed bcardiff closed 7 years ago

bcardiff commented 7 years ago

The following snippets work.

puts Time.now
puts Time.utc_now

simulate TZ using $ TZ="America/New_York" wine ./foo.exe

Note: this does not handle daylight savings.

bcardiff commented 7 years ago

This didn't make travis happy :-( hold a bit please.

bcardiff commented 7 years ago

Travis is happy again. Ready to go if you think the path taken is good.

I think it would be great if you can enable travis on this fork and enable builds for PR. I hope other will join forces :-)

lbguilherme commented 7 years ago

Travis has been enabled! :tada:

I've made some review comments, but I'm not sure how it notifies you (after the review system changed). Did you see them?

bcardiff commented 7 years ago

I see no review comments. After writing them yo need to click on the "review changes" button in the top right to send them all.