Is there anyway to convert a MM-DD-YY HH:MM date to a valid RSS Date using sed? For example I want to convert 02-26-12 14:33 to Sun, 26 Feb 2012 14:33:00 +0100…
(seconds should always be 00)
Is there anyway to convert a MM-DD-YY HH:MM date to a valid RSS Date
Share
This is my approach using
sedand with the help of theBourne shell. I added the LANG environment variable because my original language is spanish.Output: