mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32bf53cfdf
* ReaderFooter: * Honor the global twelve_hour_clock setting, instead of duplicating a local one. (Re #6969) * os.date is a thin wrapper around strftime, so we might be able to get away with some not-quite-standard extensions... These are *definitely* supported on Linux, but are *NOT* the glibc extension (that'd be e.g., %-I), so, hopefully, they're somewhat portable... They are also supported on BSD/macOS. They are *not* supported by the MS UCRT. That means MinGW-w64, too. This *appears* to be supported on current Bionic (it might even support said glibc format altering extensions). * And of course, Windows is terrible, so, make this terribly ugly to not break it there... * Turns out BSD also supports the dash trim format extension, so, leave the trimming to the libc, and handle the special-casing in a way that doesn't create stupid locals. * Random unrelated cleanup ^^. (https://gitter.im/koreader/koreader?at=5fd24be492aa1c4ef5d11f31) * Update the testsuite (Because the default used to be 24h clock). Changed the default to 24h clock ;p. * Explain why we don't try to fix it in Lua |
4 years ago | |
---|---|---|
.. | ||
apps | 4 years ago | |
device | 4 years ago | |
document | 4 years ago | |
ui | 4 years ago | |
cache.lua | 4 years ago | |
cacheitem.lua | 10 years ago | |
configurable.lua | 5 years ago | |
dbg.lua | 4 years ago | |
depgraph.lua | 4 years ago | |
device.lua | 4 years ago | |
dispatcher.lua | 4 years ago | |
docsettings.lua | 4 years ago | |
dump.lua | 4 years ago | |
fontlist.lua | 4 years ago | |
gettext.lua | 4 years ago | |
httpclient.lua | 8 years ago | |
logger.lua | 6 years ago | |
luadata.lua | 5 years ago | |
luasettings.lua | 4 years ago | |
luxl.lua | 4 years ago | |
optmath.lua | 4 years ago | |
pluginloader.lua | 4 years ago | |
pluginshare.lua | 7 years ago | |
random.lua | 5 years ago | |
readcollection.lua | 4 years ago | |
readhistory.lua | 4 years ago | |
util.lua | 4 years ago | |
version.lua | 4 years ago |