mirror of
https://github.com/moparisthebest/mailcatcher
synced 2025-01-08 12:18:00 -05:00
One console.log too many.
This commit is contained in:
parent
8137c06c52
commit
858d4c4290
@ -17,7 +17,6 @@ class MailCatcher
|
|||||||
new Date match[1], match[2], match[3], match[4], match[5], match[6], 0
|
new Date match[1], match[2], match[3], match[4], match[5], match[6], 0
|
||||||
|
|
||||||
formatDate: (date) ->
|
formatDate: (date) ->
|
||||||
console.log typeof(date)
|
|
||||||
date &&= @parseDate(date) if typeof(date) == "string"
|
date &&= @parseDate(date) if typeof(date) == "string"
|
||||||
date &&= date.toString("dddd, d MMM yyyy h:mm:ss tt")
|
date &&= date.toString("dddd, d MMM yyyy h:mm:ss tt")
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
MailCatcher.prototype.formatDate = function(date) {
|
MailCatcher.prototype.formatDate = function(date) {
|
||||||
console.log(typeof date);
|
|
||||||
if (typeof date === "string") {
|
if (typeof date === "string") {
|
||||||
date && (date = this.parseDate(date));
|
date && (date = this.parseDate(date));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user