Date filter should treat strict integers as Unix timestamps (same as all-digit strings)
authorJeremy Mikola <jmikola@gmail.com>
Fri, 27 May 2011 18:54:06 +0000 (11:54 -0700)
committerJeremy Mikola <jmikola@gmail.com>
Fri, 27 May 2011 18:54:06 +0000 (11:54 -0700)
commitd8eafa02f2be03033844bd6afbbd69655c47d2f8
tree281d8a996a7ed7706ae9508eaecf7f36f73d8fe0
parentf742efd602f310c37fdbe40c5ffcf4d61f5a4f52
Date filter should treat strict integers as Unix timestamps (same as all-digit strings)

Without a string cast, ctype_digit() will return false for an integer.
lib/Twig/Extension/Core.php