Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/Addition] Add option for USER_ENTERED flag in Google Sheets #1123

Open
anzelpwj opened this issue Sep 6, 2024 · 0 comments
Open
Labels
enhancement Impact - something should be added to or changed about Parsons that isn't causing a current breakage

Comments

@anzelpwj
Copy link
Contributor

anzelpwj commented Sep 6, 2024

When I was trying to write some date/datetime data to Google Sheets, the data gets entered as a string (e.g. '2024-01-01 instead of 2024-01-01), which ran into a bit of trouble with some data not registering as a date for the spreadsheet.

Possible Implementation

Gspread has a USER_ENTERED flag (https://stackoverflow.com/a/62359273) that we can use. Just add an optional argument to set this flag in the writing method (overwrite sheet, append to sheet, paste to sheet).

Priority

I can work on this PR. I am able to work around this with Google sheets format coercion (setting the format as date/datetime) but I'd like to eliminate this step.

@anzelpwj anzelpwj added the enhancement Impact - something should be added to or changed about Parsons that isn't causing a current breakage label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Impact - something should be added to or changed about Parsons that isn't causing a current breakage
Projects
None yet
Development

No branches or pull requests

1 participant