There arent 17 months in a year. LimeLM knows that and tries to fix mangled input.
2020-17-02 is a meaningless date. Whatever that .Format() function is doing is corrupting your date.
So, input a valid date and youll get a valid date out.
Hi.
I'm using your WebAPI and faced a problem with generate/update keys.Date/Time behave strangely.
Define time:my_time.Now()
Check value:fmt.Println(my_time.Format("2006-02-01 15:04:05")>>2020-17-02 13:03:06
Use it in XML and check it raw: form.Add("feature_name[]","expiration") form.Add("feature_value[]", my_time.Format("2006-02-01 15:04:05"))
>>api_key=...&email=...&feature_name%5B%5D=expiration&...&feature_value%5B%5D=2020-17-02+13%3A03%3A06&...&method=limelm.pkey.generate&version_id=...All is looking good.
What i see in Dashboard in Key Details?>>expiration 2021-06-02 12:54:44
I can understand the problems with time zones, but this date all is wrong. Even year is not correct.
What am I doing wrong?
There arent 17 months in a year. LimeLM knows that and tries to fix mangled input.
2020-17-02 is a meaningless date. Whatever that .Format() function is doing is corrupting your date.
So, input a valid date and youll get a valid date out.
No problem.