Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>What I quickly could Google is that Feedroll offers only this format for dates. (with the option of setting a custom timezone)</p> <p>If you really oppose this, all you can do is set an onload function that gets all elements with class <code>rss-date</code>, then parses the <code>innerText</code> to a Date object. And then outputs it again to the date format of your choosing.</p> <p><strong>edit:</strong> here is an implementation in javascript with jquery.</p> <p>The hardest part wasn't even the selecting and parsing. But actually just formatting the string to what you want. With a small amount of work you can even strip out all jquery, if you don't like using it.</p> <pre><code>&lt;script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type='text/javascript'&gt; function myFormat(dateTime) { var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']; var dateString = months[dateTime.getMonth()] + ' ' + dateTime.getDate() + ', ' + dateTime.getFullYear(); var timeString; if (dateTime.getHours() == 0) timeString = "12:" + (dateTime.getMinutes()&lt;10?"0"+dateTime.getMinutes():dateTime.getMinutes()) + "AM"; else if (dateTime.getHours() &lt; 12) timeString = dateTime.getHours() + ":" + (dateTime.getMinutes()&lt;10?"0"+dateTime.getMinutes():dateTime.getMinutes()) + "AM"; else if (dateTime.getHours() == 12) timeString = "12:" + (dateTime.getMinutes()&lt;10?"0"+dateTime.getMinutes():dateTime.getMinutes()) + "PM"; else timeString = (dateTime.getHours()-12) + ":" + (dateTime.getMinutes()&lt;10?"0"+dateTime.getMinutes():dateTime.getMinutes()) + "PM"; return dateString + ' ' + timeString; } $(document).ready(function() {$('.rss-date').each(function() {$(this).text(myFormat(new Date($(this).text())));});}); &lt;/script&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload