On Sun, Jan 22, 2017 at 02:53:15AM -0600, Ricky Cintron wrote: > Hello all, > > Apologies if I???m mistaken, but it appears that the Lua packages are built > with the default conversion specifiers for strftime, which are defined in > loslib.c (if I searched correctly). Unfortunately these do not include %l, > %k, %s, %v an %+, which are supported by OpenBSD???s strftime. This leads to > an error when trying to use %l to format Awesome Window Manager???s panel > clock. > > Would it be possible to begin building the Lua packages with support for > these conversion specifiers, or has this option already been considered and > not implemented for a reason? > > Thanks.
lang/lua/5.1 and lang/luajit don't have a whitelist for format options, lang/lua/5.2 and lang/lua/5.3 do. It isn't clear if the intent is for LUA_STRFTIMEOPTIONS to be changed to include all of the valid options or if it is limited to prevent portability problems.