Q. Do I understand correctly that in Lua there are no operations on dates? if you need to add a week, then you need to consider the duration of the week in seconds, taking into account the transition to summer/ winter time?
A. Use a library for this.
Have a look at https://github.com/tarantool/icu-date.