Difference between revisions of "ISO 8601"

From FollowTheScore
Jump to: navigation, search
Line 11: Line 11:
 
*DynamicPageListSP_body.php
 
*DynamicPageListSP_body.php
  
    $wikitext2=   "createdby          =? username"
+
    $wikitext2=   "createdby          =? username"
              ."\nmodifiedby        =? username"
+
              ."\nmodifiedby        =? username"
              ."\nlastmodifiedby    =? username"
+
              ."\nlastmodifiedby    =? username"
    ."\nfirstrevisionsince =? yyyy/mm/dd"
+
    ."\nfirstrevisionsince =? yyyy/mm/dd"
              ."\nallrevisionssince  =? yyyy/mm/dd"
+
              ."\nallrevisionssince  =? yyyy/mm/dd"
              ."\nlastrevisionbefore =? yyyy/mm/dd"
+
              ."\nlastrevisionbefore =? yyyy/mm/dd"
              ."\nallrevisionsbefore =? yyyy/mm/dd"
+
              ."\nallrevisionsbefore =? yyyy/mm/dd"
              ."\nnotcreatedby      =? user"
+
              ."\nnotcreatedby      =? user"
              ."\nnotmodifiedby      =? username"
+
              ."\nnotmodifiedby      =? username"
              ."\nnotlastmodifiedby  =? username"
+
              ."\nnotlastmodifiedby  =? username"
      ;
+
      ;
  
 
replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)
 
replace yyyy/mm/dd with YYYY-MM-DD (parsing already works, i.e. no dependencies)

Revision as of 16:19, 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)