Debian Codegraph @

demos/datepicker/show-week.html

raw
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery UI Datepicker - Show week of the year</title>
7 <link rel="stylesheet" href="../../themes/base/all.css">
8 <link rel="stylesheet" href="../demos.css">
9 <script src="../../external/requirejs/require.js"></script>
10 <script src="../bootstrap.js">
11 $( "#datepicker" ).datepicker({
12 showWeek: true,
13 firstDay: 1
14 });
15 </script>
16 </head>
17 <body>
18
19 <p>Date: <input type="text" id="datepicker"></p>
20
21 <div class="demo-description">
22 <p>The datepicker can show the week of the year. The default calculation follows
23 the ISO 8601 definition: the week starts on Monday, the first week of the year
24 contains the first Thursday of the year. This means that some days from one
25 year may be placed into weeks 'belonging' to another year.</p>
26 </div>
27 </body>
28 </html>