s 1 day</span>
    <span class="c1"># since we need the 12 hours upfront</span>
    <span class="c1"># (the day before from 12 UTC to current day 00 UTC)</span>
    <span class="k">if</span> <span class="n">c</span><span class="o">.</span><span class="n">basetime</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
        <span class="n">start</span> <span class="o">=</span> <span class="n">start</span> <span class="o">-</span> <span class="n">datetime</span><span class="o">.<