I’ve been struggling with javascript more than an hour and came up with a solution – to ask you for help!
A RSS Feed generates the date of every post in this format 2011-05-18T17:32:43Z. How can I make it look like that 17:32 18.05.2011?
Thank you in advance!
Assuming you’ve parsed the RSS date into a JS
Dateobject (which can be tricky, since manyDate.parseimplementations don’t accept ISO-8601 dates like that)…(getMonth returns 0-11 based month)
… you’d also want some kind of zero buffering for the month (in your example) and possibly day, hour (depending)….
Optionally from string->string you could use: