forked from SimonWaldherr/parseTime.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.min.html
54 lines (54 loc) · 2.62 KB
/
index.min.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<meta charset="utf-8">
<title>parseTime</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script src="./dist/parseTime.min.js" type="text/javascript"></script>
<script src="./script.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
<h1>parseTime.js</h1>
<h2>Version: 0.2.3</h2>
<h2>License: MIT</h2>
</div>
<div class="parsedBox">
<input id="inp" onkeyup="demo()" type="text" value="06.06.89"><p id="ret"></p>
</div>
<div id="parsedContainer">
<p class="parsedBox"><span>now</span></p>
<p class="parsedBox"><span>morgen um 10Uhr</span></p>
<p class="parsedBox"><span>am 23.6.1999</span></p>
<p class="parsedBox"><span>morgen abends</span></p>
<p class="parsedBox"><span>yesterday evening</span></p>
<p class="parsedBox"><span>am 17.01.2014 abends</span></p>
<p class="parsedBox"><span>am sechsten Juni</span> (not supported now)</p>
<p class="parsedBox"><span>i was in Berlin one month ago</span></p>
<p class="parsedBox"><span>i was in Berlin five days ago</span></p>
<p class="parsedBox"><span>i go to Munich in two weeks</span></p>
<p class="parsedBox"><span>you where in london for four days</span></p>
<p class="parsedBox"><span>it will be ready in 2 months</span></p>
<p class="parsedBox"><span>it will be ready in 23 weeks from now</span></p>
<p class="parsedBox"><span>this is a text without time informations</span><br/>(contain no date/time info)</p>
<p class="parsedBox"><span>in zehn Tagen</span></p>
<p class="parsedBox"><span>vor einer Woche</span></p>
<p class="parsedBox"><span>Hier steht keine Zeitangabe</span><br/>(contain no date/time info)</p>
<p class="parsedBox"><span>the $event is in a few days</span></p>
<p class="parsedBox"><span>2012-11-31 13:37:00</span></p>
<p class="parsedBox"><span>2012-07-13 13:37:00</span></p>
<p class="parsedBox"><span>2013-07-13 13:37:00</span></p>
<p class="parsedBox"><span>2014-07-13 13:37:00</span></p>
<p class="parsedBox"><span>2014-08-13</span></p>
<p class="parsedBox"><span>13:37:00</span></p>
<p class="parsedBox"><span>30.01.2013</span></p>
<p class="parsedBox"><span>30.01.2013 13:37:59</span></p>
<p class="parsedBox"><span>2013-01-29 13:37:59</span></p>
<p class="parsedBox"><span>übermorgen um 16 Uhr</span></p>
<p class="parsedBox"><span>yesterday 10 o'clock</span></p>
<p class="parsedBox"><span>4th of July</span></p>
</div>
<div id="footer">
parseTime.js | MIT license | 0.2.3 | <a href="https://github.com/SimonWaldherr/parseTime.js">@GitHub</a>
</div>
</body>
</html>