How do I specify that the date should be in the format Germany, Russia, etc. 24.05.2023 12:00?

There is a script that creates two columns: “Start of the event” and “End of the event”, after which it announces the DATE type for them.

from seatable_api.constants import Column Types
base.insert_column('Temp_table', 'Event Start', ColumnTypes.DATE)
base.insert_column('Temp_table', 'Event End', Column Types.DATE)

How do I specify that the date should be in the format Germany, Russia, etc. 24.05.2023 12:00 ?

Please consult the

Unfortunately, I didn’t find in the manual how to specify the format when adding a column…
https://seatable.github.io/seatable-scripts/python/columns/#insert-column

How does it apply here:

from seatable_api.constants import Column Types
base.insert_column('Temp_table', 'Event Start', ColumnTypes.DATE)
base.insert_column('Temp_table', 'Event End', ColumnTypes.DATE)

where to apply this syntax Insert Column?

{
"column_type": "date",
"column_data": {
"format": "DD.MM.YYYY HH:mm"
},
"table_name": "Time_table",
"column_name": "Event Start"
}

How do I specify that the date should be in the format Germany, Russia, etc. 24.05.2023 12:00 ?

This is not possible via API yet. You have to change the format via web UI.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.