User:Ohconfucius/test/MOSNUM dates code.js: Difference between revisions

Content deleted Content added
bug with timestamp removal
forced general capitalisation of 'retrieved'
Line 256:
 
//remove leading zero from 'Retrieved' date, replace 'accessed'
ohc_regex(/(?:url |link |)(?:Retrieved|Accessed) /gi, "Retrieved ");
ohc_regex(/(?:Retrieved|Accessed)(?: on |:? )@Month\s@ZD,?\s@YYYY/gi, "Retrieved @LMonth @Day, @YYYY");
ohc_regex(/(?:Retrieved|Accessed)(?: on |:? )@ZD\s@Month\s@YYYY/gi, "Retrieved @Day @LMonth @YYYY");