LouisWhit
11/21/2013 - 10:33 PM

Some features such as Events have code such as: Jan 21, 2014<br />08:00 AM - 08:30 AM that dumps out of {dateinfo}. Some clients prefer that

Some features such as Events have code such as: Jan 21, 2014
08:00 AM - 08:30 AM that dumps out of {dateinfo}. Some clients prefer that this displays on one line. The script below will achieve that goal.

<script type="text/javascript">
  var s = "{dateinfo}";
  s = s.replace(/<[^>]+>[^<]*<[^>]+>|<[^\/]+\/>/ig, " at ");
  document.write(s);
</script>