<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Mark,<br>
    <br>
    no, st_mtime is UTC. The bug here…<br>
    <br>
    <blockquote type="cite">
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">    struct tm tm = {</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_mday =
            fdate.mday,</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_mon =
            fdate.mon - 1,    /* unlike tm_mday, tm_mon is zero-based */</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_year =
            fdate.year + 80,</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_sec =
            ftime.sec * 2,</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_min =
            ftime.min,</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">        .tm_hour =
            ftime.hour</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">    };</span></font></div>
      <div class=""><font class="" face="Andale Mono"><span
            style="font-size: 14px;" class="">    st->st_mtime =
            mktime(&tm);</span></font></div>
    </blockquote>
    <br>
    …is vfs_fat_stat() doesn't set tm_isdst = -1 (auto), so it remains 0
    telling mktime() to generally not apply DST.<br>
    <br>
    <div class="">
      <div>With that added, the timezone"CET-1CEST,M3.5.0,M10.5.0/3"
        works correctly. I've pushed the fix to our esp-idf repository.<br>
        <br>
        I'll include the timezone list in the web UI then.<br>
        <br>
        Regards,<br>
        Michael<br class="">
      </div>
    </div>
    <br>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>