<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 5 Sept 2021 at 09:23, John <<a href="mailto:jksjdevelop@gmail.com">jksjdevelop@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>I too converted cross-eit to use Python 3 and it is currently
      working fine for me.<br></div>
    <p>I have to edit the file when the clocks change as the line</p>
    <p>date = dateobj + datetime.timedelta(seconds=time.altzone)</p>
    <p>doesn't cope with the time change, do you have a fix?</p>
    <p></p></div><br></blockquote><div><br></div><div>While looking for errors, I just noticed the following line in my latest mythfilldatabase log: </div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:fixedX6x13;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2021-09-05 11:10:35.405331 W<span class="gmail-Apple-converted-space">  </span>No explicit time zone found, guessing implicit UTC! Please consider enhancing the guide source to provide explicit UTC or local time instead.</span></p>
<br class="gmail-Apple-interchange-newline"></div><div>So perhaps a cleaner fix than the hack I suggested earlier might be to supply the time zone in the exported xml file. It will take a bit of digging around to figure out two things:</div><div><br></div><div>1 - How / where / in what format</div><div><br></div><div>2 - What the correct time zone should be. If I have to say UTC+0 in winter and UTC+1 in summer then I still need that IF statement. I am not aware of a way of saying "the time zone is whatever is current in the UK, so please go and look it up in some library that the OS surely has". Or perhaps that's what "local time" means, if I can figure out a way of saying that in the xml file.</div></div></div>