Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

API Template

Whats the possibility of adding the following line to the next release of HTTP_SERVICES.UpdateWebAPIs to cater for your friends overseas? :)

Swap 'DD/MM/YY' with Oconv(Date(), 'D/E') in APIProcedure

A quick format mask change in the localised SYSENV template and away we go!


Comments

  • What about our friends who are not overseas?
  • Then the existing line, which would remain,
    Swap 'MM/DD/YY' with Oconv(Date(), 'D2/') in APIProcedure
    would surely cater for their format mask?

    Wouldn't change the standard template, just the localised one. e.g.
    SYSENV*SRP_HTTP_FRAMEWORK_TEMPLATE_API_COMMENT_BLOCK*OPTO
  • I misunderstood. I thought you were suggesting to replace the line. I know understand you are simply suggesting we add this so a template formatted either way will be properly swapped. That makes sense to me so consider it done.
  • edited February 2021
    Thanks Don.

    I keep saying you're the best!
    :)
Sign In or Register to comment.