Announcement

Collapse
No announcement yet.

API Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API Issue

    I am trying to POST data through the espocrm API to a custom entity that has a date-time field. The problem I am trying to fix is that the “time” changes after the time is posted. The time before POST is in EST and I think the time is changing to UTC after POST.

    Has anyone had this issue? Or know how to fix the issue?

  • #2
    Hello.
    It's not a bug or issue, it's normal thing, espocrm store dates in UTC. If you're sending something through POST, you should Convert date to EST.

    Comment


    • #3
      Originally posted by jpennington View Post
      I am trying to POST data through the espocrm API to a custom entity that has a date-time field. The problem I am trying to fix is that the “time” changes after the time is posted. The time before POST is in EST and I think the time is changing to UTC after POST.

      Has anyone had this issue? Or know how to fix the issue?
      To fix it out, you just need to change the date everytime you are sending anything through POST.

      Comment


      • #4
        oh that explains everything. Thank you!

        Comment

      Working...
      X