Using Date.toLocaleString in a query makes my EventStore crash. I’m running it from console in a Windows 8.1 and I’ve tried with versions 3.6.1 and 3.6.2. I don’t think it has any impact but I’ve tried running the query from both Chrome and Internet Explorer.
The moment I run the query, EventStore crashes showing the usual Windows dialog stating that my “EventStore.ClusterNode.exe has stopped working” and immediately exiting in the console without showing any error message there. I’ve found no information regarding the crash in neither -cluster-node.log nor -cluster-node-err.log.
Others Date methods such as toDateString (which is what I ended up using) work without problem.
Reproduction: