Skip to content

Commit

Permalink
docs(calendar): Update docs with feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
C47D committed Jan 8, 2024
1 parent 2e10819 commit 0ff14d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/widgets/calendar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ Custom year list
----------------

Sets a custom year list with :cpp:expr:`lv_calendar_set_year_list(calendar, years_list)`
where ``years_list`` is a pointer to the custom years list ``static const char * years = "2023\n2022\n2021\n2020\n2019";``.
where ``years_list`` is a pointer to the custom years list. It can be a constant string
like ``static const char * years = "2023\n2022\n2021\n2020\n2019";``,
or can be generated dynamically into a buffer as well..

.. _lv_calendar_events:

Expand Down

0 comments on commit 0ff14d8

Please sign in to comment.