This commit is contained in:
tidusjar 2016-06-13 13:01:22 +01:00
commit 3e16d8acf0
18 changed files with 399 additions and 57 deletions

View file

@ -14,6 +14,10 @@ function Humanize(date) {
return moment.duration(mNow - mDate).humanize() + (mNow.isBefore(mDate) ? ' from now' : ' ago');
}
function utcToLocal(date) {
return moment(date).local();
}
function generateNotify(message, type) {
// type = danger, warning, info, successs
$.notify({