accept strptime_format from lua