You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the default_timezone option to change the timezones on all timestamp fields on import. The problem is I cannot query on the other fields timestamp_day specifically or the other timestamp_partials, because the result will always be off by the timezone difference to UTC. Obviously there are ways around this with SQL, but it still means that those columns are off by TZ difference.
I'm trying to use this filter to create/replace the existing column with just the partials of the converted timestamp field, but run into a few issues.
This creates timestamp_day_, which is a text field, not a date field, and doesn't contain the right TimeZone update. Is there anyway to make this work, or is there consideration for adding 'date' type with timezone conversions? Unless I'm missing something in the other plugins, this seems like the closest option for my purpose.
The text was updated successfully, but these errors were encountered:
I have a schema which contains the following columns:
I use the default_timezone option to change the timezones on all timestamp fields on import. The problem is I cannot query on the other fields timestamp_day specifically or the other timestamp_partials, because the result will always be off by the timezone difference to UTC. Obviously there are ways around this with SQL, but it still means that those columns are off by TZ difference.
I'm trying to use this filter to create/replace the existing column with just the partials of the converted timestamp field, but run into a few issues.
This creates timestamp_day_, which is a text field, not a date field, and doesn't contain the right TimeZone update. Is there anyway to make this work, or is there consideration for adding 'date' type with timezone conversions? Unless I'm missing something in the other plugins, this seems like the closest option for my purpose.
The text was updated successfully, but these errors were encountered: