Bonjour,
mon Datepiker me retourne la date en mm dd yy
Mon champ me donne un beau calendrier mais en anglais les jours sont en anglais aussi ...
Quelqu'un a une idée ?
Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Date</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> $( function() { $( "#date" ).datepicker($.datepicker.regional[ "fr" ]); } ); </script> </head> <body> <p>Date: <input type="text" id="date"></p> </body> </html>
Partager