[grisbi-bugs] [Grisbi 0002177]: When importing, dates are the date of the import, not the date indicated in the file

Grisbi Bug Tracker bugtracker at grisbi.org
Lun 11 Juil 14:19:24 CEST 2022


The following issue has been RESOLVED. 
====================================================================== 
https://www.grisbi.org/bugsreports/view.php?id=2177 
====================================================================== 
Reported By:                jona
Assigned To:                pbiava
====================================================================== 
Project:                    Grisbi
Issue ID:                   2177
Category:                   Main
Tags:                       Import CSV
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
OS:                         Ubuntu 
Unstable Impact:            Yes 
Version OS:                 20.04 
Version GTK:                 
Resolution:                 fixed
Fixed in Version:           development (git)
====================================================================== 
Date Submitted:             2022-02-06 00:34 CET
Last Modified:              2022-07-11 14:19 CEST
====================================================================== 
Summary:                    When importing, dates are the date of the import,
not the date indicated in the file
Description: 
I tried to import a file exported from my bank but the date are the date of the
import, not the date indicated in the file (the transaction date).

Steps to Reproduce: 
Try to import Transactions_examples.csv attached, when imported, on my computer,
all transactions' dates are today.

Additional Information: 
I have a computer configured in English, here are my locales:
LC_ADDRESS=de_BE.UTF-8
LC_NAME=de_BE.UTF-8
LC_MONETARY=fr_BE.UTF-8
LC_PAPER=de_BE.UTF-8
LC_IDENTIFICATION=de_BE.UTF-8
LC_TELEPHONE=de_BE.UTF-8
LC_MEASUREMENT=fr_BE.UTF-8
LC_TIME=en_BE.UTF-8
LC_NUMERIC=fr_BE.UTF-8
====================================================================== 

---------------------------------------------------------------------- 
 (0006438) jona (reporter) - 2022-02-06 00:37
 https://www.grisbi.org/bugsreports/view.php?id=2177#c6438 
---------------------------------------------------------------------- 
This report is very close to https://www.grisbi.org/bugsreports/view.php?id=1896


---------------------------------------------------------------------- 
 (0006439) LudovicRousseau (administrator) - 2022-02-06 17:27
 https://www.grisbi.org/bugsreports/view.php?id=2177#c6439 
---------------------------------------------------------------------- 
If your bank can provide a file in OFX instead of CSV that could solve your
problem. 

---------------------------------------------------------------------- 
 (0006440) jona (reporter) - 2022-02-06 22:48
 https://www.grisbi.org/bugsreports/view.php?id=2177#c6440 
---------------------------------------------------------------------- 
Hello,

Thanks for the support !

Unfortunately, it's only pdf :-( and csv. 

---------------------------------------------------------------------- 
 (0006441) pbiava (administrator) - 2022-02-07 08:09
 https://www.grisbi.org/bugsreports/view.php?id=2177#c6441 
---------------------------------------------------------------------- 
Grisbi does not detect the correct date format. Delete the first column of the
file and import the file.

[Edit] You can also change LC_TIME=en_BE.UTF-8 by LC_TIME=fr_BE.UTF-8. it should
work

 

---------------------------------------------------------------------- 
 (0006545) pbiava (administrator) - 2022-07-11 14:19
 https://www.grisbi.org/bugsreports/view.php?id=2177#c6545 
---------------------------------------------------------------------- 
fixed in Github 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2022-02-06 00:34 jona           New Issue                                    
2022-02-06 00:34 jona           File Added: Grisbi_result.png                   

2022-02-06 00:34 jona           File Added: Grisbi_Import_Keytrade.png          
         
2022-02-06 00:34 jona           File Added: Transactions_examples.csv           
        
2022-02-06 00:34 jona           Tag Attached: Import CSV                     
2022-02-06 00:37 jona           Note Added: 0006438                          
2022-02-06 17:27 LudovicRousseauNote Added: 0006439                          
2022-02-06 22:48 jona           Note Added: 0006440                          
2022-02-07 08:06 pbiava         Note Added: 0006441                          
2022-02-07 08:09 pbiava         Note Edited: 0006441                         
2022-07-11 14:19 pbiava         Assigned To               => pbiava          
2022-07-11 14:19 pbiava         Status                   new => resolved     
2022-07-11 14:19 pbiava         Resolution               open => fixed       
2022-07-11 14:19 pbiava         Fixed in Version          => development (git)
2022-07-11 14:19 pbiava         Note Added: 0006545                          
======================================================================



Plus d'informations sur la liste de diffusion bugsreports