Difference between revisions of "ISO 8601"

From FollowTheScore
Jump to: navigation, search
(The ISO 8601 uses YYYY-MM-DD as representation (not yyyy or mm or dd).)
(minro)
Line 5: Line 5:
 
things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)
 
things that have to be checked to achieve ISO 8601 conformance (maybe output is driven from settings outside DPL?)
  
*output variables, e.g. on [[Latest Modifications per user]]: invoked by addeditdate
+
*output
 +
** e.g. on [[Latest Modifications per user]]: invoked by addeditdate
 +
**[http://semeb.com/dpldemo/index.php?title=Special%3ACall%2FCatlist&namespace=all&notnamespace=-&category=%3F&notcategory=%3F&uses=%3F&notuses=%3F&linksto=&notlinksto=&createdby=Tobias+Conradi&modifiedby=%3F&lastrevisionbefore=2007-08-12&firstrevisionsince=YYYY-MM-DD&allrevisionsbefore=YYYY-MM-DD&allrevisionssince=YYYY-MM-DD&shownamespace=yes&addcategories=no&addpagecounter=no&addpagesize=no&adduser=no&addeditdate=no&addpagetoucheddate=no&ordermethod=-&order=ascending&escapelinks=true&randomcount=-&export=no&titlematch=&columns=3&count=]
 +
**out put driven by mediwiki settings - on my own wiki the output is conforming.
  
things that have to be changed to achieve ISO 8601 conformance
+
*input fields on [[Template:Catlist]] - done
*input fields on [[Template:Catlist]]
 
  
 
==DynamicPageListSP_body.php==
 
==DynamicPageListSP_body.php==

Revision as of 15:34, 16 August 2007

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

The ISO 8601 uses YYYY-MM-DD as representation (not yyyy or mm or dd).

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

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)