Skip to content

Instantly share code, notes, and snippets.

View LucasLemanowicz's full-sized avatar

Lucas Lemanowicz LucasLemanowicz

View GitHub Profile
/*
* JavaScript Un-PrettyDate
* Copyright (c) 2014 Lucas Lemanowicz
* Licensed under the MIT license.
*/
// Takes a PrettyDate string and turns it back into a Date object.
function unPrettyDate(time) {
timeCut = time.split(" ");