<p dir="auto">when finding a Yaml date, the parser currently returns it as a unix timestamp.<br>
A flag to return it as a DateTime would be great.</p>
<p dir="auto">If we handle them as DateTime, the dumper should accept DateTime objects and dump them as Yaml dates though</p>
<p dir="auto">Hi,</p>
<p dir="auto">I'm not sure if this issue is a duplicate, because i couldn't find any other that specifically points to this.</p>
<p dir="auto">I am rendering two controllers into the view like this:</p>
<div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="  {{ render(controller('WebBundle:Task:navTask')) }}
  {{ render(controller('WebBundle:Notification:navNotification')) }}"><pre class="notranslate">  {{ render(controller(<span class="pl-s"><span class="pl-pds">'</span>WebBundle:Task:navTask<span class="pl-pds">'</span></span>)) }}
  {{ render(controller(<span class="pl-s"><span class="pl-pds">'</span>WebBundle:Notification:navNotification<span class="pl-pds">'</span></span>)) }}</pre></div>
<p dir="auto">Everything works out fine, but for each render i get 1 or 2 errors in the console:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GET http://example.dev/_wdt/98002d 404 (Not Found)"><pre class="notranslate"><code class="notranslate">GET http://example.dev/_wdt/98002d 404 (Not Found)
</code></pre></div>
<p dir="auto">Here's content of controller action:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    public function navTaskAction()
    {
        return $this-&gt;render('WebBundle:Task:navTask.html.twig', [
            'navTasks' =&gt; 2
        ]);
    }"><pre class="notranslate">    <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">navTaskAction</span>()
    {
        <span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">render</span>(<span class="pl-s">'WebBundle:Task:navTask.html.twig'</span>, [
            <span class="pl-s">'navTasks'</span> =&gt; <span class="pl-c1">2</span>
        ]);
    }</pre></div>
<p dir="auto">And view:</p>
<div class="highlight highlight-text-html-twig notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div class=&quot;tasks&quot;&gt;
  {{ navTasks }}
&lt;/div&gt;"><pre class="notranslate">&lt;<span class="pl-ent">div</span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>tasks<span class="pl-pds">"</span></span>&gt;
  {{ <span class="pl-smi">navTasks</span> }}
&lt;/<span class="pl-ent">div</span>&gt;</pre></div>
<p dir="auto">When I remove those, errors are gone.</p>
<p dir="auto">It didn't bother me at first, but when i wanted to add 3rd render, it started to throw 404 alert for profiler, because it exceeds 5 calls.</p>
<p dir="auto">Probably the problem exists because token is not passed to the subrequests, which then throws 404 error. Just a guess. Is there a way to fix this, or am I doing something wrong?</p>