View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - CSV export time units on day but projeqtor is set to hours - Page 3 - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

CSV export time units on day but projeqtor is set to hours

More
23 Oct 2015 09:24 - 23 Oct 2015 09:25 #13 by babynus
Weird indeed : both files work fine for me.
They were correctly imported, with comma or dot, including decimal part.
(I just changed Activity Type and Project in order to import the 2 lines)





I sse that you run a V5.0, which version exactly ?
What OS for server ?
What version of MySql ?

Babynus
Administrator of ProjeQtOr web site
Attachments:
Last edit: 23 Oct 2015 09:25 by babynus.

Please Connexion or Create an account to join the conversation.

More
23 Oct 2015 09:43 #14 by babynus
I also had a doubt about DB, and tested with PostgreSql : works fine...

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
23 Oct 2015 09:56 #15 by babynus
I Think I found : in you locale format, thouthand separator is ".", so it is removed to formt numeric.
Try and replace function formatNumericInput($val), line 2640 in /model/Importable.php with this one :
function formatNumericInput($val) {
  global $browserLocale;
  $fmt = new NumberFormatter52 ( $browserLocale, NumberFormatter52::DECIMAL );
  $from = array (
      $fmt->decimalSeparator,
      ' ' 
  );
  $to = array (
      '.',
      '' 
  );
  return str_replace ( $from, $to, $val );
}
Tell me if it works better.

More accurate solution will be provided in V5.1

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
26 Oct 2015 21:07 #16 by soyelsimo
well I couldn't make that fix on the code, but now it works perfect on the 5.1 version :D thaks a lot!

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.078 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.