• So I have been trying to add a “T” to the string format when using the date() function from the @wordpress/date library. So far I have tried Y-m-d"T"H:i and Y-m-d\TH:i and both have given me the following respectively: 2023-01-18"+11"21:40 or 2023-01-18+1121:40.

    • This topic was modified 3 years, 2 months ago by prconcepcion.
Viewing 1 replies (of 1 total)
  • Thread Starter prconcepcion

    (@prconcepcion)

    This is not the right forum to post. Marking this as resolved.

    Edit: Nvm I will just leave this here

    • This reply was modified 3 years, 2 months ago by prconcepcion.
    • This reply was modified 3 years, 2 months ago by prconcepcion.
Viewing 1 replies (of 1 total)

The topic ‘How to add the character “T” to the string format when using date()’ is closed to new replies.