This website requires JavaScript.
Explore
Pages
CI
Help
Register
Sign In
deblan-mirror
/
thelounge
Watch
1
Star
0
Fork
You've already forked thelounge
0
mirror of
https://github.com/thelounge/thelounge.git
synced
2024-06-28 10:10:20 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
d6ca06b12b
thelounge
/
client
/
js
/
libs
/
handlebars
/
localetime.js
6 lines
93 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Use require() instead of import in client code Closes #895
2017-03-18 10:21:18 +01:00
"use strict"
;
Webpack
2016-12-18 16:53:28 +01:00
module
.
exports
=
function
(
time
)
{
Display localized timestamp in title of message times
2016-10-01 08:46:19 +02:00
return
new
Date
(
time
)
.
toLocaleString
(
)
;
Webpack
2016-12-18 16:53:28 +01:00
}
;
Reference in a new issue
Copy permalink