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

Content deleted Content added
No edit summary
+@DD, @Month, @YYYY
Line 198:
 
// eliminating other errant formats
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@Month, @DD, @YYYY(?=[ ]*\|)/gi, "$1@Day @Month @YYYY");
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@DD, @Month, @YYYY(?=[ ]*\|)/gi, "$1@Day @Month @YYYY");
ohc_regex(/(\|[ ]*(?:date|archivedate|accessdate)[ ]*=[ ]*)@YYYY,? @Month @DD(\D)/gi, "$1@Day @Month @YYYY$2");
ohc_regex(/[ ]\(@YYYY,? @Month @DD\)/gi, " (@Day @Month @YYYY)");