Skip to content

Commit

Permalink
Fix: Must use a standard (internationnal) date format.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 4, 2018
1 parent eca6649 commit 69dd11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/modules/modAccounting.class.php
Expand Up @@ -269,7 +269,7 @@ function __construct($db)
't.ref'=>array('rule'=>'getrefifauto')
);
//$this->import_convertvalue_array[$r]=array('s.fk_soc'=>array('rule'=>'lastrowid',table='t');
$this->import_regex_array[$r]=array('b.doc_date'=>'^[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]$');
$this->import_regex_array[$r]=array('b.doc_date'=>'^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]$');
//$this->import_examplevalues_array[$r]=array('t.fk_projet'=>'MyProjectRef','t.ref'=>"auto or TK2010-1234",'t.label'=>"My task",'t.progress'=>"0 (not started) to 100 (finished)",'t.datec'=>'1972-10-10','t.note_private'=>"My private note",'t.note_public'=>"My public note");

// Chart of accounts
Expand Down

0 comments on commit 69dd11f

Please sign in to comment.