My Current Source DB is non-UTC timezone (Asia/Calcutta, UTC+5:30).
I use AWS DMS to move certain tables from SourceDB to a TargetDB which is set to same non-UTC time_zone (Asia/Calcutta) in Parameter Group.
When I create and run a "Migrate existing data and replicate ongoing changes", data gets migrated but the timestamp column is different value (actually it is UTC)
table1 @ Source DB
----------------------------------------------------
id user_id purpose in_time
1 24 Cleaning 2020-08-09 20:00:00
2 78 Cleaning 2020-08-09 21:30:00
table1 @ Target DB
----------------------------------------------------
id user_id purpose in_time
1 24 Cleaning 2020-08-09 14:30:00
2 78 Cleaning 2020-08-09 16:00:00
Now, I stop the DMS task and then resume it again. (This step it important else, following will not be same as described).
After this, when I update row 1 say purpose column on source DB replication happens and suddenly time appears with Asia/Calcutta time_zone on target DB, but only for that ROW 1, ROW 2 in time is still UTC.
table1 @ Source DB
----------------------------------------------------
id user_id purpose in_time
1 24 Survey 2020-08-09 20:00:00
2 78 Cleaning 2020-08-09 21:30:00
table1 @ Target DB
----------------------------------------------------
id user_id purpose in_time
1 24 Survey 2020-08-09 20:00:00
2 78 Cleaning 2020-08-09 16:00:00
Any clue why it behaves like this, is there any way to fix this?
P.S. I am not looking for answers suggesting "You should always use UTC format in you DB", as that isn't an option for me.