Thanks. It makes sense now.
Since the timezone is +4, this explains the "+4" at the end of the moment date. Had the timezone be UTC, then the moment date displayed would be shown in UTC.
I dunno why this confuses me again, thanks for the explanation. Now I am fine.
This is happening on my local development machine. why would that happen? It was working fine already.
Thanks for the explanation.
Can you show me in the code where this conversion is happening on both, the client side and server side?
Thanks
Hi, I have the following generated scripts:
(function(){
abp.clock.provider = abp.timing.utcClockProvider || abp.timing.localClockProvider;
abp.clock.provider.supportsMultipleTimezone = true;
abp.timing.timeZoneInfo = { windows: { timeZoneId: 'Azerbaijan Standard Time', baseUtcOffsetInMilliseconds: '14400000', currentUtcOffsetInMilliseconds: '14400000', isDaylightSavingTimeNow: 'False' }, iana: { timeZoneId:'Asia/Baku' }, }
})();
When I type abp.clock.now() it gives something like: Wed Mar 22 2017 03:00:24 GMT+0200 (GTB Standard Time)
But as you see above, I set myself for a timezone that is +4 GMT.
How come abp.clock.now() gives GMT+2?
Hi Ismail,
Seems the Date issue is still not clear to me. I checked the audit logs, the idea is not clear there.
When sending datetime from client to server, what shall i do to the date? Always make sure it is sent as per client timezone? How to do so in Abp?
On submitting a form, on server, Abp based on configured provider to normalizes the date input?
Thanks
Ok. Thanks
Thanks I will give it a try some time soon.
Hi, I've added a button download Excel sheet with some data. Actually last time I checked the code was yesterday night and it was working fine. I was able to download the excel.
Today, when I try to download, and while debugging I can see that the SaveAs method works fine and the file type is of type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Then on the client side, I get redirected to a page: <a class="postlink" href="https://view.officeapps.live.com/op/errorpage.htm?llcc=en-US">https://view.officeapps.live.com/op/err ... llcc=en-US</a>
The Excel is not downloaded and I get redirected. What's there that I should do more?
Thanks
It makes more sense now :-)
Does have the features of a Tenant? Like separate Admin/Members? Or usually it falls under a Tenant (Admin per Tenant)?
Also, how about Permissions? How do they work with OU? Now I deal with Permissions and they target only Tenants and Host. How about OU?
Thanks