How set the timezone when migrating a model using MigratorCli?

When migrating our models with the new kernel version of 2022.06 the models receive a default UTC timezone.

"modelConfig": {
      "decimalSeparator": ".",
      "timeZone": "UTC"
},

Is there the possibility to pass another timezone into the MigratorCli when migrating the models or the timezone has to be set manually?

Hi,
as far as I know, timeZone was added to fix a bug ([A12-13004]<INTERNAL_LINK>). It is not a full solution for handling time zones.
Additionally, I found in [A12K-1362]<INTERNAL_LINK> the following statement:

For the time beeing we will only use and test the time zones “UTC” and “Europe/Berlin”. We will not take account for half hour time zones or similar things.

Therefore, I would not expect that it is enabled to set another time zone other than “UTC” for migration yet.

I suppose then setting manually “Europe/Berlin” in the model would work right?

First, I want to bring the time zone documentation to your attention.

“For new Document Models it is set automatically to “UTC”. If a workspace contains document models with differing time zones, the models which use time zone “UTC” will be marked as invalid.”

As a result, you should think carefully about using the “Europe/Berlin” timezone. It could lead to confusion when creating new Document Models, which will be invalid if not modeled correctly.

Please read my previous post first. I just modeled the “Europe/Berlin” timezone in expert mode and yes, the setting in the json appears like this:

    "modelConfig": {
      "timeZone": "Europe/Berlin",
      "decimalSeparator": "."
    },