<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug AtomS3 with UIFlow2 on library time]]></title><description><![CDATA[<p dir="auto">on Alpha 9, the software Time library still return false values:</p>
<p dir="auto">"get UTC time" return a tuple where:</p>
<ul>
<li>Year is with difference of +30 to reality</li>
<li>Day is with difference of -1 to reality</li>
</ul>
<p dir="auto">"get system uptime in seconds" is definitely false with a very high value</p>
<p dir="auto">it come probably from a confusion between unix time year 1970 and unix time year 2000</p>
<p dir="auto">thanks</p>
]]></description><link>https://community.m5stack.com/topic/5222/bug-atoms3-with-uiflow2-on-library-time</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 10:04:00 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5222.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Apr 2023 12:51:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Fri, 30 Jun 2023 15:16:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iamliubo" aria-label="Profile: iamliubo">@<bdi>iamliubo</bdi></a> said in <a href="/post/21409">Bug AtomS3 with UIFlow2 on library time</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> can you show me the code?</p>
</blockquote>
<p dir="auto">We solved it over Twitter</p>
]]></description><link>https://community.m5stack.com/post/21418</link><guid isPermaLink="true">https://community.m5stack.com/post/21418</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 30 Jun 2023 15:16:39 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Fri, 30 Jun 2023 10:06:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a> said in <a href="/post/21269">Bug AtomS3 with UIFlow2 on library time</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iamliubo" aria-label="Profile: iamliubo">@<bdi>iamliubo</bdi></a><br />
Hi<br />
System uptime in seconds should return 0 when the system (m5stack ….S3) starts, nobostand epoch 1970 or 2000…</p>
</blockquote>
<p dir="auto">When boot up, if device connect to wifi will auto sync the time from ntp server, and time.time() this function will overwritten by new time.</p>
]]></description><link>https://community.m5stack.com/post/21410</link><guid isPermaLink="true">https://community.m5stack.com/post/21410</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Fri, 30 Jun 2023 10:06:42 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Fri, 30 Jun 2023 10:03:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> can you show me the code?</p>
]]></description><link>https://community.m5stack.com/post/21409</link><guid isPermaLink="true">https://community.m5stack.com/post/21409</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Fri, 30 Jun 2023 10:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Fri, 30 Jun 2023 10:03:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a> yes, we change to 1970</p>
]]></description><link>https://community.m5stack.com/post/21408</link><guid isPermaLink="true">https://community.m5stack.com/post/21408</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Fri, 30 Jun 2023 10:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Thu, 22 Jun 2023 09:34:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iamliubo" aria-label="Profile: iamliubo">@<bdi>iamliubo</bdi></a><br />
Hi<br />
System uptime in seconds should return 0 when the system (m5stack ….S3) starts, nobostand epoch 1970 or 2000…</p>
]]></description><link>https://community.m5stack.com/post/21269</link><guid isPermaLink="true">https://community.m5stack.com/post/21269</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Thu, 22 Jun 2023 09:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Tue, 20 Jun 2023 04:35:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iamliubo" aria-label="Profile: IAMLIUBO">@<bdi>IAMLIUBO</bdi></a> I'm getting an issue with time with 1.11.9 both the core and core 2 are showing an error with time "Module Time has no attribute"</p>
]]></description><link>https://community.m5stack.com/post/21239</link><guid isPermaLink="true">https://community.m5stack.com/post/21239</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 20 Jun 2023 04:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Mon, 19 Jun 2023 21:22:07 GMT]]></title><description><![CDATA[<p dir="auto">I think that Micropython use epoch 2000 by default</p>
]]></description><link>https://community.m5stack.com/post/21238</link><guid isPermaLink="true">https://community.m5stack.com/post/21238</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Mon, 19 Jun 2023 21:22:07 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Mon, 19 Jun 2023 03:41:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a></p>
<p dir="auto">Sorry, last update(aplha-17) we change the epoch time from "2000-01-01" ot "1970-01-01".So "get system uptime in seconds" block return is tiem stamp from 1970-01-01. And use "1970-01-01" as epoch is more compatible.</p>
]]></description><link>https://community.m5stack.com/post/21230</link><guid isPermaLink="true">https://community.m5stack.com/post/21230</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Mon, 19 Jun 2023 03:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Mon, 19 Jun 2023 03:08:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a></p>
<blockquote>
<p dir="auto">There is problem when using "Set timezone GMTx":<br />
using "Set timezone GMT+2" and then "get local time", it should<br />
return UTC+2/GMT+2 but it return UTC-2/GMT-2</p>
</blockquote>
<p dir="auto">honestly, I was confused at first, but i saw this link, it explain why the time zone is reversed:<a href="https://stackoverflow.com/questions/53076575/time-zones-etc-gmt-why-it-is-other-way-round" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/53076575/time-zones-etc-gmt-why-it-is-other-way-round</a></p>
<blockquote>
<p dir="auto">There is still problem with "get system uptime in seconds" which is not adjusted to epoch 2000 and returns a very big value</p>
</blockquote>
<p dir="auto">ok, thanks for report, will check this and fix.</p>
]]></description><link>https://community.m5stack.com/post/21229</link><guid isPermaLink="true">https://community.m5stack.com/post/21229</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Mon, 19 Jun 2023 03:08:39 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Sat, 17 Jun 2023 17:09:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi dev Team,</p>
<p dir="auto">I made small test on Alpha17:</p>
<ul>
<li>
<p dir="auto">now "get UTC time" works correctly  :)</p>
</li>
<li>
<p dir="auto">There is problem when using "Set timezone GMTx":<br />
using "Set timezone GMT+2"  and then "get local time", it should return UTC+2/GMT+2 but it return UTC-2/GMT-2</p>
</li>
<li>
<p dir="auto">There is still problem with "get system uptime in seconds" which is not adjusted to epoch 2000 and returns a very big value</p>
</li>
</ul>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/21222</link><guid isPermaLink="true">https://community.m5stack.com/post/21222</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Sat, 17 Jun 2023 17:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Mon, 12 Jun 2023 08:07:05 GMT]]></title><description><![CDATA[<p dir="auto">@imaliubo</p>
<p dir="auto">yes I tried,</p>
<p dir="auto">it seems that UIFlow (based on 1.19.1) doesn't take epoch into account, which is year 2000 in MP 1.19.1 or 1.20.</p>
<p dir="auto">Apart that there is confusion created on gmtime() and localtime() in UIFlow apis.</p>
<p dir="auto">Also to mention that in MP 1.20, the returned values from gmtime() and localtime() are not all time reliable (sometimes the ntpserver requested in MP localtime() return what in fact is gmtime()...)</p>
]]></description><link>https://community.m5stack.com/post/21171</link><guid isPermaLink="true">https://community.m5stack.com/post/21171</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Mon, 12 Jun 2023 08:07:05 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Mon, 12 Jun 2023 03:55:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a></p>
<p dir="auto">Hi, did you check this <a href="https://docs.micropython.org/en/latest/library/time.html?highlight=time#module-time" target="_blank" rel="noopener noreferrer nofollow ugc">time docs of micropython port</a>?</p>
<p dir="auto"><img src="/assets/uploads/files/1686542086324-1cceab94-6e76-4b26-8dd3-5423f8a76b5f-image.png" alt="0_1686542095863_1cceab94-6e76-4b26-8dd3-5423f8a76b5f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1686542102678-c742a3f5-e76c-46bb-8f83-82baab888585-image.png" alt="0_1686542112272_c742a3f5-e76c-46bb-8f83-82baab888585-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/21167</link><guid isPermaLink="true">https://community.m5stack.com/post/21167</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Mon, 12 Jun 2023 03:55:08 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Wed, 26 Apr 2023 21:23:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a> said in <a href="/post/20617">Bug AtomS3 with UIFlow2 on library time</a>:</p>
<blockquote>
<p dir="auto">on Alpha 10 the problem remains</p>
</blockquote>
<p dir="auto">on Alpha 11 the problem remains</p>
]]></description><link>https://community.m5stack.com/post/20685</link><guid isPermaLink="true">https://community.m5stack.com/post/20685</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Wed, 26 Apr 2023 21:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to Bug AtomS3 with UIFlow2 on library time on Sun, 16 Apr 2023 11:50:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flex" aria-label="Profile: flex">@<bdi>flex</bdi></a> on Alpha 10 the problem remains</p>
]]></description><link>https://community.m5stack.com/post/20617</link><guid isPermaLink="true">https://community.m5stack.com/post/20617</guid><dc:creator><![CDATA[flex]]></dc:creator><pubDate>Sun, 16 Apr 2023 11:50:51 GMT</pubDate></item></channel></rss>