Comments (4)
Thx for the report I'll have a look as soon time permits
from dfdatetime.
Issue is that interface._GetDateValues
does not correctly handle number of days (in year) of 0.
Pending fixes: #135
With fix:
In [2]: from dfdatetime import posix_time
In [3]: posix_time.PosixTime(31511228).CopyToDateTimeString()
Out[3]: u'1970-12-31 17:07:08'
In [4]: posix_time.PosixTime(126189827).CopyToDateTimeString()
Out[4]: u'1973-12-31 12:43:47'
from dfdatetime.
Changes merged and new pre-release made available.
from dfdatetime.
Thanks! I just tried the 20190116 release on my real data, and it solves the problem.
from dfdatetime.
Related Issues (20)
- code clean up
- Add CopyFromDatetime to TimeElements
- Add set precision method
- Add CopyToDateTimeStringISO8601 method
- add posix support for milliseconds timestamps HOT 3
- add APFS time support HOT 7
- Consider adding functionality to set date and time elements from ctime string HOT 3
- Add copy from RFC 822 / 1123 / 2822 string functions HOT 1
- Generate date and time values documentation from source
- DelphiDateTime check for maximum supported date time
- Add public GetDateWithTimeOfDay method HOT 1
- set fat_date_time attribute when FatDateTime is set from string
- Add support for Golang binary timestamps
- Add support for Windows ticks
- Issue when deserializing a RFC2579DateTime value HOT 3
- Add support to parse nanoesecond timestamp formats to GolangTime
- Add support for OLE Automation date (aka Floatingtime or Application Time)
- AppVeyor Python 3.6 tests are failing HOT 1
- Fix failing dfvfs tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dfdatetime.