Skip to content

Commit

Permalink
fixed date formatting per #1
Browse files Browse the repository at this point in the history
  • Loading branch information
WMSPanel team committed Nov 3, 2015
1 parent 31bc14c commit 62a3a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/wmsauth-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Date.prototype.format = function (mask, utc) {
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
var today = (new Date()).format("UTC:m/d/yyyy h/MM/ss TT");
var today = (new Date()).format("UTC:m/d/yyyy h:MM:ss TT");
var initial_url = "http://yourdomain.com:8081/live/stream/playlist.m3u8";
var ip = req.connection.remoteAddress;
var key = "defaultpassword";
Expand Down

0 comments on commit 62a3a2d

Please sign in to comment.