Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created March 4, 2013 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5083467 to your computer and use it in GitHub Desktop.
Save anonymous/5083467 to your computer and use it in GitHub Desktop.
(defn extract-time-jp-str
"extracts time of a just out string and returns it as string"
[source]
(let [splitted (clojure.string/split source #" ")
out (clojure.string/join " " (let [year (first splitted) t (second splitted)] [year t]))] out))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment