alokjha / go-tour

Automatically exported from code.google.com/p/go-tour
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

switch-with-no-condition.go returns incorrect result at night #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Run switch-with-no-condition not long after 0:00. For example at 1:00 program 
will return:
Good morning!

While I expect
Good night!

:)

Patch in attachment.

Original issue reported on code.google.com by peter.vo...@gmail.com on 7 Apr 2013 at 8:27

Attachments:

GoogleCodeExporter commented 8 years ago
Nope, 1am is indeed the morning.

Original comment by a...@golang.org on 7 Apr 2013 at 11:28

GoogleCodeExporter commented 8 years ago
Yay, that's the difference in English from Russian :) Ok, something new for me, 
thanks

Original comment by peter.vo...@gmail.com on 8 Apr 2013 at 8:28