Difference between revisions of "ISO 8601"

From FollowTheScore
Jump to: navigation, search
Line 9: Line 9:
 
*input fields on [[Template:Catlist]]
 
*input fields on [[Template:Catlist]]
  
*DynamicPageListSP_body.php
+
==DynamicPageListSP_body.php==
  
 
      $wikitext2=   "createdby          =? username"
 
      $wikitext2=   "createdby          =? username"

Revision as of 15:20, 16 August 2007

http://en.wikipedia.org/wiki/ISO_8601


things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)

things that have to be changed to achieve ISO 8601 conformance

DynamicPageListSP_body.php

			    $wikitext2=	   "createdby          =? username"
			               	."\nmodifiedby         =? username"
			               	."\nlastmodifiedby     =? username"
			    			."\nfirstrevisionsince =? yyyy/mm/dd"
			               	."\nallrevisionssince  =? yyyy/mm/dd"
			               	."\nlastrevisionbefore =? yyyy/mm/dd"
			               	."\nallrevisionsbefore =? yyyy/mm/dd"
			               	."\nnotcreatedby       =? user"
			               	."\nnotmodifiedby      =? username"
			               	."\nnotlastmodifiedby  =? username"
			    		   	;

replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)