<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Bug in the "Data Horizon" Menu]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9007/" />
	<updated>2022-01-08T02:29:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9007/bug-in-the-data-horizon-menu/</id>
		<entry>
			<title type="html"><![CDATA[Re: Bug in the "Data Horizon" Menu]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67511/#p67511" />
			<content type="html"><![CDATA[<p>Now it&#039;s back to normal, and running fine.</p><p>As it turns out, the difference between the date.getUTCDay() and date.getUTCDate() methods affects Data Horizon&#039;s dating function in EA Studio.</p><p>Thanks Popov...<br />You&#039;re really great... <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Cornie4]]></name>
				<uri>https://forexsb.com/forum/user/13626/</uri>
			</author>
			<updated>2022-01-08T02:29:48Z</updated>
			<id>https://forexsb.com/forum/post/67511/#p67511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in the "Data Horizon" Menu]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67500/#p67500" />
			<content type="html"><![CDATA[<p>I think I fix the bug.</p><p>Please reload EA Studio and test it.</p><p>The bug was introduced this morning when I tried to fix another issue.</p><p>I found out that the previous version of EA Studio localizes the date texts in the Journal and Charts. A side effect is that the JavaScript language applies a local timezone shift.</p><p>A set of functions converts times and dates between strings and numbers for the UTC timezone. <br />I used:<br /></p><div class="codebox"><pre><code>const day = date.getUTCDay()</code></pre></div><p>instead of the correct:<br /></p><div class="codebox"><pre><code>const day = date.getUTCDate()</code></pre></div><p>Do you know what the difference is? <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" />)</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-01-07T11:58:58Z</updated>
			<id>https://forexsb.com/forum/post/67500/#p67500</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug in the "Data Horizon" Menu]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67499/#p67499" />
			<content type="html"><![CDATA[<p>Thank you for the report!</p><p>I&#039;ll check it today.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-01-07T11:15:45Z</updated>
			<id>https://forexsb.com/forum/post/67499/#p67499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug in the "Data Horizon" Menu]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/67498/#p67498" />
			<content type="html"><![CDATA[<p>Dear Popov,</p><p>I found the problem in the &quot;Data Horizon&quot; Menu. Every time I input the date, month and year I want (in the column &quot;Use start date limit&quot; and in &quot;Use end date limit&quot;), the number I inputted returns to the format &quot;dd/mm/yyyy&quot;.</p><p>I&#039;ve tried to re-upload the history data in the &quot;Data Import&quot; menu, the problem in &quot;Data Horizon&quot; is happening again.</p><p>My EA Studio version v22.1.7.</p><p>Please fix this. Thanks Popov...</p>]]></content>
			<author>
				<name><![CDATA[Cornie4]]></name>
				<uri>https://forexsb.com/forum/user/13626/</uri>
			</author>
			<updated>2022-01-07T11:07:27Z</updated>
			<id>https://forexsb.com/forum/post/67498/#p67498</id>
		</entry>
</feed>
