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.
koreader/frontend/apps/reader/modules
NiLuJe 32bf53cfdf
ReaderFooter: Don't duplicate a 12h clock time format option (#6973)
* 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
..
readeractivityindicator.lua Support the White Kindle PW3 & the Kindle Oasis. 8 years ago
readerback.lua Reader: rationalize "Back" key/action handling (#6840) 4 years ago
readerbookmark.lua Hide non-linear fragments 4 years ago
readerconfig.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readercoptlistener.lua Remove DCREREADER_PROGRESS_BAR (#5641) 5 years ago
readercropping.lua Paged documents: rework zoom options (#6885) 4 years ago
readerdevicestatus.lua Floor dimension computations (mul/div). (#6264) 4 years ago
readerdictionary.lua move unpackArchive to Device, use native version on android (#6959) 4 years ago
readerdogear.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
readerflipping.lua [UX] Gesture manager: corner gestures (#4878) 5 years ago
readerfont.lua fontlist: Cache categorized font info (for mupdf) (#6786) 4 years ago
readerfooter.lua ReaderFooter: Don't duplicate a 12h clock time format option (#6973) 4 years ago
readergoto.lua Hide non-linear fragments 4 years ago
readerhighlight.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readerhinting.lua minor(readerhinting): access document directly instead of from ui 9 years ago
readerkoptlistener.lua Paged documents: rework zoom options (#6885) 4 years ago
readerlink.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readermenu.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readerpagemap.lua Reference page numbers list: highlight current page 4 years ago
readerpaging.lua Fix #6929 (#6930) 4 years ago
readerpanning.lua feat: add logger module & rewrite kobo suspend script in lua 8 years ago
readerrolling.lua [lang] Minor touch-up to non-linear info text (#6895) 4 years ago
readerrotation.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
readersearch.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
readerstatus.lua Allow automatically marking the book as read on end of doc (#6256) 4 years ago
readerstyletweak.lua Show full ToC entry on hold (#6729) 4 years ago
readertoc.lua Hide non-linear fragments 4 years ago
readertypeset.lua [CRe] Tweak nightmode and CRe call cache interaction (#6859) 4 years ago
readertypography.lua ReaderTypography: fix language names order in menu (#6913) 4 years ago
readerview.lua Add columns to ReaderZooming paged_modes (#6970) 4 years ago
readerwikipedia.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
readerzooming.lua Add columns to ReaderZooming paged_modes (#6970) 4 years ago