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

Date format without Z #289

Open
danielf-rodriguez opened this issue Jul 8, 2020 · 7 comments
Open

Date format without Z #289

danielf-rodriguez opened this issue Jul 8, 2020 · 7 comments
Labels

Comments

@danielf-rodriguez
Copy link

Is there a way to make date format on XML request comes without the Z at the end?. We have a legacy web service that is validating the format to be YYYY-MM-DD and the Z is causing problems.

@Scrib3r
Copy link
Contributor

Scrib3r commented Aug 20, 2020

Yes, It's a big problem for us too. A soap server expects date in format YYYY-MM-DD but in every requests z symbol added into the end of field of date. Can anyone help us?

@stale stale bot added the stale label Dec 25, 2020
@kellyjandrews
Copy link

kellyjandrews commented Jun 9, 2021

I hate to ping a stale issue, however it's changing all dates into UTC Zulu time - I'm honestly not sure how. I specifically need these to be in PST. Is there a way to do this?

@stale stale bot removed the stale label Jun 9, 2021
@kellyjandrews
Copy link

So in my case, the API doesn't care about the time zone, so using moment().subtract(7, 'hours') fixed it.

@stale stale bot added the stale label Aug 8, 2021
@stale stale bot closed this as completed Aug 22, 2021
@achrinza achrinza reopened this Aug 29, 2021
@stale stale bot removed the stale label Aug 29, 2021
@stale stale bot added the stale label Oct 28, 2021
@stale stale bot closed this as completed Nov 11, 2021
@hrushikesh-udchalo
Copy link

hrushikesh-udchalo commented Jan 28, 2022

Has anybody found something? , How to solve this issue ?

@pkfms
Copy link

pkfms commented Feb 8, 2022

Hi, I also need to send dates to an api that requires dates in format 2022-02-08T10:27:18+01:00 instead of Z. Would be great to be able to configure this in the request

@sak963
Copy link

sak963 commented May 9, 2022

I have the same problem with Z, it should be optional or deleted
image

@loopbackio loopbackio deleted a comment from stale bot May 10, 2022
@loopbackio loopbackio deleted a comment from stale bot May 10, 2022
@loopbackio loopbackio deleted a comment from stale bot May 10, 2022
@loopbackio loopbackio deleted a comment from stale bot May 10, 2022
@loopbackio loopbackio deleted a comment from stale bot Nov 20, 2022
@Scrib3r
Copy link
Contributor

Scrib3r commented Mar 1, 2023

Hello. I've created MR for fixing this issues #525

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

No branches or pull requests

7 participants