<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Grid4php%3A%3Adate_en_fran%C3%A7ais</id>
	<title>Grid4php::date en français - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Grid4php%3A%3Adate_en_fran%C3%A7ais"/>
	<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Grid4php::date_en_fran%C3%A7ais&amp;action=history"/>
	<updated>2026-11-26T15:25:07Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Grid4php::date_en_fran%C3%A7ais&amp;diff=12208&amp;oldid=prev</id>
		<title>Pchevalier le 17 juin 2021 à 15:50</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Grid4php::date_en_fran%C3%A7ais&amp;diff=12208&amp;oldid=prev"/>
		<updated>2021-06-17T15:50:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 17 juin 2021 à 15:50&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Ligne 4 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 4 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Par défaut, la date est en anglais.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Par défaut, la date est en anglais.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Si je veux la passer en français, il va falloir définir très précisément la colonne en question.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Si je veux la passer en français, il va falloir définir très précisément la colonne en question.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Exemple donné pour orders.php:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;Exemple donné pour orders.php:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col = array();  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col = array();  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;title&amp;quot;] = &amp;quot;Date&amp;quot;;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;title&amp;quot;] = &amp;quot;Date&amp;quot;;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;name&amp;quot;] = &amp;quot;required_date&amp;quot;;  // Ça, c&amp;#039;est le nom du champ dans la base mysql&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;name&amp;quot;] = &amp;quot;required_date&amp;quot;;  // Ça, c&amp;#039;est le nom du champ dans la base mysql&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  // C&#039;est le seul élément à toucher&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;fixed&amp;quot;] = true;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;fixed&amp;quot;] = true;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;width&amp;quot;] = &amp;quot;100&amp;quot;;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $col[&amp;quot;width&amp;quot;] = &amp;quot;100&amp;quot;;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Grid4php::date_en_fran%C3%A7ais&amp;diff=12207&amp;oldid=prev</id>
		<title>Pchevalier : Page créée avec « KEYWORDS: GRID4PHP, DATE, FRANCAIS, 17/06/2021   &#039;&#039;&#039;Le 17/06/2021:&#039;&#039;&#039;  Par défaut, la date est en anglais.  Si je veux la passer en français, il va falloir définir trè... »</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Grid4php::date_en_fran%C3%A7ais&amp;diff=12207&amp;oldid=prev"/>
		<updated>2021-06-17T15:50:04Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « KEYWORDS: GRID4PHP, DATE, FRANCAIS, 17/06/2021   &amp;#039;&amp;#039;&amp;#039;Le 17/06/2021:&amp;#039;&amp;#039;&amp;#039;  Par défaut, la date est en anglais.  Si je veux la passer en français, il va falloir définir trè... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;KEYWORDS: GRID4PHP, DATE, FRANCAIS, 17/06/2021&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Le 17/06/2021:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 Par défaut, la date est en anglais.&lt;br /&gt;
 Si je veux la passer en français, il va falloir définir très précisément la colonne en question.&lt;br /&gt;
&lt;br /&gt;
 Exemple donné pour orders.php:&lt;br /&gt;
 $col = array(); &lt;br /&gt;
 $col[&amp;quot;title&amp;quot;] = &amp;quot;Date&amp;quot;; &lt;br /&gt;
 $col[&amp;quot;name&amp;quot;] = &amp;quot;required_date&amp;quot;;  // Ça, c&amp;#039;est le nom du champ dans la base mysql&lt;br /&gt;
 $col[&amp;quot;fixed&amp;quot;] = true; &lt;br /&gt;
 $col[&amp;quot;width&amp;quot;] = &amp;quot;100&amp;quot;; &lt;br /&gt;
 $col[&amp;quot;editable&amp;quot;] = true; // this column is editable &lt;br /&gt;
 $col[&amp;quot;editoptions&amp;quot;] = array(&amp;quot;size&amp;quot;=&amp;gt;20, &amp;quot;defaultValue&amp;quot;=&amp;gt;date(&amp;quot;d M, Y&amp;quot;)); &lt;br /&gt;
 $col[&amp;quot;editrules&amp;quot;] = array(&amp;quot;required&amp;quot;=&amp;gt;true); &lt;br /&gt;
 $col[&amp;quot;formatter&amp;quot;] = &amp;quot;date&amp;quot;; // format as date &lt;br /&gt;
 // $col[&amp;quot;formatoptions&amp;quot;] = array(&amp;quot;srcformat&amp;quot;=&amp;gt;&amp;#039;Y-m-d&amp;#039;,&amp;quot;newformat&amp;quot;=&amp;gt;&amp;#039;m/d/Y&amp;#039;);    // Format Anglais&lt;br /&gt;
 // PCSTREET: pour avoir une date en français: &lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;$col[&amp;quot;formatoptions&amp;quot;] = array(&amp;quot;srcformat&amp;quot;=&amp;gt;&amp;#039;Y-m-d&amp;#039;,&amp;quot;newformat&amp;quot;=&amp;gt;&amp;#039;d/m/Y&amp;#039;);&amp;#039;&amp;#039;&amp;#039; // Format Français&lt;br /&gt;
 $cols[] = $col;&lt;/div&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
</feed>