]> git.madduck.net Git - etc/awesome.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

luatz/timetable: Floor milliseconds before passing to string.format
authordaurnimator <quae@daurnimator.com>
Fri, 19 Jun 2015 00:24:53 +0000 (10:24 +1000)
committerdaurnimator <quae@daurnimator.com>
Fri, 19 Jun 2015 00:24:53 +0000 (10:24 +1000)
commitfe885e6eddd5bf1c893d6c6b6767f2cbba54e8a0
tree9b3a4b276bc2f0a90dd4e7e4b3117b443446aa5b
parentcb6821bbbb191868a7b6c8813f8481c897d9dba9
luatz/timetable: Floor milliseconds before passing to string.format

The %d format specifier expects an integer.
Since lua 5.3, instead of doing undefined rounding, it throws an error
luatz/timetable.lua
spec/timetable_spec.lua