Time zone for just one field


#1

Hello, I have a data source that has 4 time fields, but I need to apply a time zone to only one of them, leaving the others as they are, how can I do that? Can you help me with an example, please?


#2

Well i’ll show you in this example two ways to do that, the first one is for all the fields and the second one is for a single field:

let customMeta = {
    'ticket_sales': {
        'tz': 'Asia/Tokyo', // 1. this is for all the fields
        'fields': {
            'saletime': { 
                'label': 'Sale time',
                'tz': 'Europe/Amsterdam' // 2. this is for a single field
                }
        }
    }
}

In your case you need the second example


#3

In fact, it’s too simple, thanks for your helpIn fact, it’s too simple, thanks for your help