[FogBugz #282] Erreur format data pour last_traduction #345

Open
opened 2023-07-04 07:12:22 +02:00 by fbenoist68 · 7 comments

Assigned To: CLOSED
Project: Mobile Portal
Area: Divers
Category: Bogue
Priority: A fixer impérativement

Assigned To: CLOSED Project: Mobile Portal Area: Divers Category: Bogue Priority: A fixer impérativement
Poster
Owner

Event ID: 1339
Date: 2014-06-24T16:23:53Z
Person: Frederik Benoist
Description: Fermé par Frederik Benoist

Event ID: 1339 Date: 2014-06-24T16:23:53Z Person: Frederik Benoist Description: Fermé par Frederik Benoist
Poster
Owner

Event ID: 1338
Date: 2014-06-24T16:23:53Z
Person: Frederik Benoist
Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist

Event ID: 1338 Date: 2014-06-24T16:23:53Z Person: Frederik Benoist Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist
Poster
Owner

Event ID: 1337
Date: 2014-06-24T16:23:42Z
Person: Frederik Benoist
Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist

Event ID: 1337 Date: 2014-06-24T16:23:42Z Person: Frederik Benoist Description: Résolu (Corrigé) and assigned to Frederik Benoist by Frederik Benoist
Poster
Owner

Event ID: 1237
Date: 2014-02-08T08:30:53Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

index.js

Idem YYYYDDMM ==> YYYYMMDD

 

 var last_traduction = moment(data.last_traduction, 'YYYYDDMM HH:mm:ss');
                    check_traduction('fr', last_traduction);
                    check_traduction('it', last_traduction);
                    check_traduction('es', last_traduction);
                    check_traduction('be', last_traduction);
 
Event ID: 1237 Date: 2014-02-08T08:30:53Z Person: Frederik Benoist Description: Modifié par Frederik Benoist <p> index.js</p> <p> Idem YYYYDDMM ==&gt; YYYYMMDD</p> <p> &nbsp;</p> <div> &nbsp;var last_traduction = moment(data.last_traduction, &#39;YYYYDDMM HH:mm:ss&#39;);</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; check_traduction(&#39;fr&#39;, last_traduction);</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; check_traduction(&#39;it&#39;, last_traduction);</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; check_traduction(&#39;es&#39;, last_traduction);</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; check_traduction(&#39;be&#39;, last_traduction);</div> <div> &nbsp;</div>
Poster
Owner

Event ID: 1236
Date: 2014-02-08T08:20:58Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

 

p_mportal_login.ws_login_getportalguid
 
o_json.put ('last_traduction',
                  TO_CHAR (v_last_trad, 'RRRRDDMM HH24:MI:SS')
                 );
 
==> a passer en RRRRMMDD
Event ID: 1236 Date: 2014-02-08T08:20:58Z Person: Frederik Benoist Description: Modifié par Frederik Benoist <p> &nbsp;</p> <div> p_mportal_login.ws_login_getportalguid</div> <div> &nbsp;</div> <div> o_json.put (&#39;last_traduction&#39;,</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TO_CHAR (v_last_trad, &#39;RRRRDDMM HH24:MI:SS&#39;)</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;);</div> <div> &nbsp;</div> <div> ==&gt; a passer en RRRRMMDD</div>
Poster
Owner

Event ID: 1235
Date: 2014-02-08T08:19:57Z
Person: Frederik Benoist
Description: Attribué à Frederik Benoist par Frederik Benoist

Event ID: 1235 Date: 2014-02-08T08:19:57Z Person: Frederik Benoist Description: Attribué à Frederik Benoist par Frederik Benoist
Poster
Owner

Event ID: 1234
Date: 2014-02-08T08:19:57Z
Person: Frederik Benoist
Description: Ouvert par Frederik Benoist

Event ID: 1234 Date: 2014-02-08T08:19:57Z Person: Frederik Benoist Description: Ouvert par Frederik Benoist
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fbenoist68/mobileportal#345
There is no content yet.