rockbox/apps/plugins/lua/include_lua
William Wilgus f456dbfa52 [Bugfix] FS#13902 lua strfrtime wrong month field, did not add one to month
posix month field is called mon not month
mon goes from 0-11 so strfrtime needs to add 1 to the number for %m
day of week goes 0-6 where 0 = sunday
day of year goes 0-365 (365 on a leap year)

according to lua everything starts at 1
so month is 1-12
day of week goes 1-7 1 = sunday
day of year is 1-365 (366 on a leap year)

added some fields in the time_date example

Change-Id: Icd502b172285d23133488aa3456786d756667bfa
2026-05-22 18:10:36 -04:00
..
audio.lua plugin api: Add audio_pre_ff_rewind to plugin's API 2025-12-29 19:58:26 +05:00
blit.lua Clean up rocklib_img 2018-10-09 01:02:25 +02:00
color.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
create_kbd_layout.lua lua -- temp loader 2021-05-06 21:36:55 -04:00
dbgettags.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
draw.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
draw_floodfill.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
draw_num.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
draw_poly.lua lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
draw_text.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
filebrowse.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
files.lua lua move strip_extension and create_numbered_filename out of main binary 2019-09-28 03:15:15 +02:00
fileviewers.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
image.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
image_save.lua FS#13718 - The image_save library (rocklua) can't correctly save an image with an odd resolution. 2026-01-21 08:15:56 -05:00
lcd.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
math_ex.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00
menubuttons.lua lua add rb_poly.lua vector drawing and memoization demo 2026-01-21 08:54:16 -05:00
menucoresettings.lua lua add a way to filter settings on read 2021-05-19 23:29:10 -04:00
pcm.lua pcm: Make more of the low-level PCM API private 2026-03-03 13:09:21 -05:00
playlist.lua playlist: Remove playlist_add() 2023-07-02 12:14:33 -04:00
poly_points.lua lua optimize poly_draw add draw_number, poly_points modules 2019-08-26 22:17:33 -05:00
print.lua lua add submenu module + cleanup 2021-04-28 04:37:16 +00:00
printmenus.lua lua add submenu module + cleanup 2021-04-28 04:37:16 +00:00
printsubmenu.lua lua submenus add a way to dynamically add items 2021-04-30 13:38:54 +00:00
printtable.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
rbcompat.lua Lua optimize combine and rework similar functions 2018-11-02 18:00:06 +01:00
rbsettings.lua lua add a way to filter settings on read 2021-05-19 23:29:10 -04:00
sound.lua lua add sound_current, consolidate sound_ functions 2019-07-25 10:17:40 -05:00
strftime.lua [Bugfix] FS#13902 lua strfrtime wrong month field, did not add one to month 2026-05-22 18:10:36 -04:00
temploader.lua lua -- temp loader 2021-05-06 21:36:55 -04:00
timer.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00