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/ui/elements
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
3 years ago
..
avoid_flashing_ui.lua UI Behavior tweaks (#3983) 6 years ago
common_info_menu_table.lua More KoboUSBMS related tweaks & cleanups (#6590) 4 years ago
common_settings_menu_table.lua ReaderFooter: Don't duplicate a 12h clock time format option (#6973) 3 years ago
file_ext_assoc.lua Pocketbook misc fixes (#6633) 4 years ago
filemanager_menu_order.lua android-luajit-launcher refactor (#6821) 4 years ago
flash_keyboard.lua Option to disable keyboard flashing (#3050) 7 years ago
flash_ui.lua Allow for disabling flashing of menu, icons and buttons (#3339) 7 years ago
font-test-sample-default.template Pocketbook misc fixes (#6633) 4 years ago
font_settings.lua enable usage of system fonts 4 years ago
mass_storage.lua [fix] Save document settings before activating USBMS (#6713) 4 years ago
menu_activate.lua Option to disable show bottom menu on top menu activation (#3316) 7 years ago
menu_keyboard_layout.lua Minor util & ffi/util cleanups (#6657) 4 years ago
reader_menu_order.lua Hide non-linear fragments 4 years ago
refresh_menu_table.lua A few e-Ink flash rate QoL tweaks (#6528) 4 years ago
screen_android.lua android-luajit-launcher refactor (#6821) 4 years ago
screen_color_menu_table.lua Warn if color rendering is enabled on a grayscale device. (#5871) 4 years ago
screen_disable_double_tap_table.lua fix some luacheck warnings 8 years ago
screen_dpi_menu_table.lua Floor dimension computations (mul/div). (#6264) 4 years ago
screen_eink_opt_menu_table.lua Pocketbook: waveform presets (#6794) 4 years ago
screen_rotation_menu_table.lua [chore] Get rid of ui/data/strings.lua (#6921) 4 years ago
screensaver_menu.lua [feat] Allow message to be overlaid on other screensavers (#6238) 4 years ago
waveform_level.lua Pocketbook: waveform presets (#6794) 4 years ago