« Issue/2218 » : différence entre les versions

De Semantic MediaWiki - Sandbox
Aucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 7 : Ligne 7 :
This is not accepted:
This is not accepted:


* [[Date of birth::-0341-01-01T00:00:00Z]]
* [[Date of birth::-0341-03-10T00:00:00Z]]
* [[Date of birth::-0342-00-00T00:00:00Z]]
* [[Date of birth::-0342-00-00T00:00:00Z]]
* [[Date of birth::0342-00-00T00:00:00Z BC]]
* [[Date of birth::0342-00-00T00:00:00Z BC]]
Ligne 13 : Ligne 13 :
This is accepted:
This is accepted:


* [[Date of birth::0341-01-01T00:00:00Z BC]]
* [[Date of birth::0341-03-10T00:00:00Z BC]]
 
* [[Date of birth::2000-02-11T22:00:01+02:00]]


== Output ==
== Output ==

Dernière version du 31 janvier 2017 à 18:23

Testing negative dates

Date source: https://www.wikidata.org/wiki/Special:EntityData/Q43216.json

Input

This is not accepted:

  • -0341-03-10T00:00:00Z"-0341-03-10T00:00:00Z" contains an extrinsic dash or other characters that are invalid for a date interpretation.
  • -0342-00-00T00:00:00Z"-0342-00-00T00:00:00Z" contains an extrinsic dash or other characters that are invalid for a date interpretation.
  • 0342-00-00T00:00:00Z BC"0342-00-00T00:00:00Z BC" contains a sequence that could not be interpreted against an available match matrix for date components.

This is accepted:

  • 0341-03-10T00:00:00Z BC
  • 2000-02-11T22:00:01+02:00

Output

  • 10 mars 341 BC 00:00:00 JL, 11 février 2000 20:00:01

ISO

  • --341-03-05T00:00:00, 2000-02-11T20:00:01
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.