So my publisher is asking me to update my errata list. Some of you have already reported errata here: https://forums.manning.com/posts/list/41366.page (which is the de-facto place for errata in Nim in Action).
Before I compile an official errata list, I'd really appreciate any other reports of mistakes in the book. Especially if they haven't been reported already.
I looked through chapter 7 for things related to the times module (I think it's the only chapter that uses it):
p191, p213: TimeInfo => DateTime
p191: Defines a floating-point time field in the Message type. => Defines a time field in the Message type. (Time isn't floating point)
p196: $message.time.toSeconds().int => $message.time.toUnix() (Description of that code should also change accordingly)
p197: fromSeconds(row.parseInt)``=> ``fromUnix(row.parseBiggestInt) (Description of that code should also change accordingly)
p205: message.time.getGMTime() => message.time.utc()
p212: getTime().getGMTime() + 2.hours => getTime().utc + 2.hours
Not an errata but p271 in the macros section, you use dumpTree to get the AST of a type section and then introduce out of the blue a macro that produces the same AST.
I think you should mention dumpASTGen as a shortcut to get the same result.