]> Sergey Matveev's repositories - public-inbox.git/commit
view: update POSIX::strftime usage
authorEric Wong <e@yhbt.net>
Sun, 5 Jan 2020 23:23:32 +0000 (23:23 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jan 2020 10:20:45 +0000 (10:20 +0000)
commitb503e583ede0b35a30aa3f14096c0605e3032439
tree55d5f8c2bf6a82709d4e8be0ac5ae8a566447cb0
parent11eec3365d537b20ade6923eaa5fdd18206d4342
view: update POSIX::strftime usage

The POSIX module is always loaded, so import `strftime' into the
namespace so we can use it and take advantage of compile-time
arg checking.  While we're at it, update and reorder caller
functions to use prototypes, too.
lib/PublicInbox/View.pm