yep I would say so too...
the major user is zip compression hence no one will ever notice the possibly 
flawed implementation :P

On 2012-05-18, at 17:40, Sean P. DeNigris wrote:

> asDosTime
>       "answer number of seconds since Dos epoch (midnight Jan 1, 1980, UTC)"
>       ^((self offset: Duration zero) - self class dosEpoch) asSeconds
> 
> Everything I found online says that DOS date/times are bit masked:
> http://blogs.msdn.com/b/oldnewthing/archive/2003/09/05/54806.aspx
> http://mindprod.com/jgloss/zip.html
> http://mail.python.org/pipermail/python-list/1999-December/614399.html
> 
> 32 bits:
> |Y|Y|Y|Y|Y|Y|Y|M| |M|M|M|D|D|D|D|D| |h|h|h|h|h|m|m|m| |m|m|m|s|s|s|s|s|
> 
> Am I missing something, or is this a bug?
> 
> Sean
> 
> --
> View this message in context: 
> http://forum.world.st/DateAndTime-asDosTime-tp4630789.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> 


Reply via email to