Jump to content

Revive AdServer Banner Rotation: US Date Format Showing As UK Date Format


420

Recommended Posts

1 hour ago, andrewatfornax said:

Hey @420

In the GitHub ticket (linked above), you'll find a comment from me on 21 August, which links to the exact line of code where the date is being formatted for sending in emails.

Feel free to make the minor code change you need there to fix it yourself, if that's what you're looking to do!

Do you know what we need to replace in the file by chance? (Off-topic note: The line is no longer accurate because of updates). 

Back around that time, we tried replacing

$oEndDate->format($date_format),

with 

$oEndDate->format('m-d-Y'),

But it didn't work. It displayed m-d-Y in the emails so we reverted the file back to its previous contents. 

 

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...