Skip to content

Tableau Prep - Unwanted Date Change in Python script #627

@tolivier-voo

Description

@tolivier-voo

Environment information:

  • OS (TabPy Server): Windows 2016 on AWS EC2 Instance
  • Python version: 3.11.3
  • TabPy release: 2.9.0
  • OS (Tableau Prep): Windows 10 Entreprise

Describe the issue
With a very simple python script (And more complicated too), a date sent to TabPy with no modification in the script, comes back one day earlier...

This issue doesn't appear in all environments, I guess it's maybe an issue with timezone conversion, and substract some hours on date field too

To Reproduce
There is a packaged flow on this page : https://community.tableau.com/s/question/0D58b00009weKJvCAM/issue-with-dates-being-shifted-1-day-earlier-in-tableau-prep

Expected behavior
The date must stay the same

Screenshots
Case 1 :
original_data_2
output_data_2
Case 2:
original_data_1
output_data_1

Additional context
https://community.tableau.com/s/question/0D58b00009weKJvCAM/issue-with-dates-being-shifted-1-day-earlier-in-tableau-prep

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions