Note that `now := time.Now().Local()` on the playground always is `2009-11-10 
23:00:00 +0000 UTCZ`. Your loop works correctly and ends with `[2009-11-09 
2009-11-16]`.

Try to run it locally and see.

Lutz

________________________________________
Von: golang-nuts@googlegroups.com <golang-nuts@googlegroups.com> im Auftrag von 
Sahil Agrawal <sahil.agra...@aquasec.com>
Gesendet: Mittwoch, 22. Januar 2020 06:18
An: golang-nuts@googlegroups.com
Betreff: [go-nuts] About go-playground

I tried to run a time script. But according to the code, it should return a 
very long list of date range. But it failed to do so. Can you please give me an 
explanation or some documentation which specifies that golang doesn't support 
time values (like it doesn't support for file handling operations.)

PFA file




Thanks and Regards,
Sahil Agrawal


--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
golang-nuts+unsubscr...@googlegroups.com<mailto:golang-nuts+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/AM5PR03MB3057DBC2104DF2379A7DF3E6FA0C0%40AM5PR03MB3057.eurprd03.prod.outlook.com<https://groups.google.com/d/msgid/golang-nuts/AM5PR03MB3057DBC2104DF2379A7DF3E6FA0C0%40AM5PR03MB3057.eurprd03.prod.outlook.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/AM7P191MB106012BBA2C4414DBA3C10669E0C0%40AM7P191MB1060.EURP191.PROD.OUTLOOK.COM.

Reply via email to