Skip to content

Instantly share code, notes, and snippets.

😅
CODE

James Dahl jamesgdahl

😅
CODE
  • Nautilus Digital
  • Vancouver
Block or report user

Report or block jamesgdahl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View RevDate.js
"use strict";
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var RevDate = function RevDate(dateparse) {
_classCallCheck(this, RevDate);
var moment = new Date();
if (typeof dateparse !== 'undefined') {
moment = new Date(dateparse);
You can’t perform that action at this time.