Jason Sobell
Jason Sobell
OK, it turns out there are loads of faults and some really weird requirements for some of the features such as addMonths(). I've added to my project a program that...
The only test I missed (so far) was `setTime`, and it was incorrectly adding timezone offset when it should be UTC only. It's fixed on mine, and I added a...
We need these Date bugs fixing in the core. Latest version still fails all of these tests in my test routines: ```text x Difference: (new Date("2010-08-30T00:00:00")).valueOf(), NiL=1283126400000 Mon Aug 30...
Still problems with the constructor: ```text x Difference: (new Date("2010-08-30T00:00:00-0400")).valueOf(), NiL=1283176800000 Tue Aug 31 2010 00:00:00 GMT+1000 (AUS Eastern Standard Time) v8=1283140800000 Mon Aug 30 2010 14:00:00 GMT+1000 (AUS Eastern...
In your code you're looking at the JSValue so I'm not sure exactly what you wanted back out at that point. All times in javascript are UTC, but when you...
Well it says your TimeZoneOffset is zero for some reason. Can you see what `TimeZoneInfo.Local.GetUtcOffset(DateTime.Now)` gives on your PC? I'm not sure why you get this, but you can try...
OK, that's good, so what is the relationship between `Context`s and the Modules? It appears the constructor for Modules only ever refers to the GlobalContext, in which case how can...
I did see that diagram, but it appears that only one `GlobalContext` can exist at a time, so the system is not thread-safe. For example: https://github.com/nilproject/NiL.JS/blob/develop/NiL.JS/Core/Context.cs#L84 Anything referring to `Static`...
Ah, awesome. It was the JSValue reference that was concerning me. So what is the purpose of `ActivateInCurrentThread()` ? If the Contexts are thread-safe, why would it ever need to...
OK, two problems with this approach. Firstly, it appears that the use of the GlobalContext introduces threading issues. If we use a GlobalContext as documented to handle incoming web requests,...