luaposix icon indicating copy to clipboard operation
luaposix copied to clipboard

new function `difftime`, modeled after `os.difftime`

Open gvvaughan opened this issue 9 years ago • 0 comments

os.difftime() copes only with os.date() results, we should provide one that recognizes and subtracts epochs, PosixTm, PosixTmspec, PosixTimeval (or their deprecated.lua raw table massaged varieties) and return something sensible...

gvvaughan avatar Dec 17 '14 23:12 gvvaughan