<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/lib/timeutils/timeutils.c, branch 4.0.0-rc.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-rc.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-rc.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-08-25T18:43:02+00:00</updated>
<entry>
<title>Fix os.stat() to use 1970 epoch</title>
<updated>2018-08-25T18:43:02+00:00</updated>
<author>
<name>Noralf Trønnes</name>
<email>noralf@tronnes.org</email>
</author>
<published>2018-08-25T16:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=39ee12d1ac6ffb105f6ac0994f6169a7bb327cbd'/>
<id>urn:sha1:39ee12d1ac6ffb105f6ac0994f6169a7bb327cbd</id>
<content type='text'>
Commit 95e70cd0ea6d 'time: Use 1970 epoch' changed epoch for the time
module, but not for other users. This patch does the same for the only
other core timeutils user: extmod/vfs_fat.c:fat_vfs_stat().
Other timeutils users: cc3200, esp8266 and stm32, are not changed.

Ports that don't use long ints, will still get wrong time values from
os.stat().
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>various: Spelling fixes</title>
<updated>2017-05-29T08:36:05+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-05-29T07:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ca16c3821053e5bf2b87aeb10007f73f31dc1eac'/>
<id>urn:sha1:ca16c3821053e5bf2b87aeb10007f73f31dc1eac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Use full path name when including mp-readline/timeutils/netutils.</title>
<updated>2017-03-31T11:29:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-31T11:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b6c7e4b143d96ff9f84ccb22d83b1e15ab084250'/>
<id>urn:sha1:b6c7e4b143d96ff9f84ccb22d83b1e15ab084250</id>
<content type='text'>
This follows the pattern of how all other headers are now included, and
makes it explicit where the header file comes from.  This patch also
removes -I options from Makefile's that specify the mp-readline/timeutils/
netutils directories, which are no longer needed.
</content>
</entry>
<entry>
<title>lib/timeutils/timeutils: Fix pedantic warning in coverage build.</title>
<updated>2016-06-03T07:46:15+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-03T07:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1bc8aa85a40870f72db7c99977d0cd177443bccf'/>
<id>urn:sha1:1bc8aa85a40870f72db7c99977d0cd177443bccf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/timeutils/timeutils: timeutils_mktime may accept negative time values.</title>
<updated>2016-06-02T19:52:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-02T19:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=993cc3611a991aaf2ac9066d0bec852de27eab9b'/>
<id>urn:sha1:993cc3611a991aaf2ac9066d0bec852de27eab9b</id>
<content type='text'>
And will normalize them.
</content>
</entry>
<entry>
<title>lib/timeutils/timeutils: Typo fix in comment.</title>
<updated>2016-04-27T15:52:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-27T15:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50ef851bee4e006e576f1d6b3ce55f7e726e3e9b'/>
<id>urn:sha1:50ef851bee4e006e576f1d6b3ce55f7e726e3e9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Fix some issues in timeutils</title>
<updated>2015-05-21T20:31:50+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-05-18T15:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a3a14b9db79d3af24e724832092d1861ec231365'/>
<id>urn:sha1:a3a14b9db79d3af24e724832092d1861ec231365</id>
<content type='text'>
In particular, dates prior to Mar 1, 2000 are screwed up.

The easiest way to see this is to do:

&gt;&gt;&gt; import time
&gt;&gt;&gt; time.localtime(0)
(2000, 1, 1, 0, 0, 0, 5, 1)
&gt;&gt;&gt; time.localtime(1)
(2000, 1, 2, 233, 197, 197, 6, 2)

With this patch, we instead get:
&gt;&gt;&gt; import time
&gt;&gt;&gt; time.localtime(1)
(2000, 1, 1, 0, 0, 1, 5, 1)

Doh - In C % is NOT a modulo operator, it's a remainder operator.
</content>
</entry>
<entry>
<title>lib: Move time utility functions to common library.</title>
<updated>2015-05-12T23:12:54+00:00</updated>
<author>
<name>Josef Gajdusek</name>
<email>atx@atx.name</email>
</author>
<published>2015-05-11T00:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1db42538864e1f235fee1b37b44ca428b1f3c427'/>
<id>urn:sha1:1db42538864e1f235fee1b37b44ca428b1f3c427</id>
<content type='text'>
</content>
</entry>
</feed>
