Created
March 4, 2013 16:26
-
-
Save anonymous/5083467 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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