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

Slack Node oldest and latest parameter datetime picker for channel history does not work #2338

Closed
bbougon opened this issue Oct 19, 2021 · 2 comments

Comments

@bbougon
Copy link

bbougon commented Oct 19, 2021

Describe the bug
When I wanna get a slack channel history with Oldest and / or Latest messages, I pick a date and time from the input datetime picker but the results are not within the range of the choosen date and time

To Reproduce
Steps to reproduce the behavior:

  1. Go to a 'Slack Node' with channel history parameterized
  2. Pick a date from the datetime picker for either Latest or Oldest messages
  3. Execute the workflow

Expected behavior
I wanna retrieve the results corresponding to the date and time chosen

Environment (please complete the following information):

  • Image Docker n8n:latest (i.e 0.144.0)

Additional context
The issue is here (and a few lines down for oldest). The date time picked through the datetime picker is sent as datetime string (i.e: 2021-10-18 23:00:00) to the slack API whereas it should be a timestamp based string (i.e 1634590800.000000). See the slack API doc)

@janober
Copy link
Member

janober commented Oct 20, 2021

Thanks a lot @bbougon for reporting this issue. Got fixed and will be released with the next version.

@janober janober closed this as completed Oct 20, 2021
@janober
Copy link
Member

janober commented Oct 22, 2021

Got released with n8n@0.145.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants