Merge pull request #491 from Dangercoder/develop
honey.sql/upper-case for clojure-clr
This commit is contained in:
commit
e7737ee7af
1 changed files with 5 additions and 1 deletions
|
|
@ -173,8 +173,12 @@
|
|||
"Upper-case a string in Locale/US to avoid locale-specific capitalization."
|
||||
[^String s]
|
||||
(.. s toString (toUpperCase (java.util.Locale/US))))
|
||||
:cljr
|
||||
(defn upper-case
|
||||
"Upper-case a string in Locale/US to avoid locale-specific capitalization."
|
||||
[^String s]
|
||||
(.ToUpper s (System.Globalization.CultureInfo. "en-Us")))
|
||||
;; TODO - not sure if there's a JavaScript equivalent here we should be using as well
|
||||
;; TODO - not sure if there's a .NET equivalent here we should be using as well
|
||||
:default
|
||||
(defn upper-case
|
||||
"In ClojureScript, just an alias for cljs.string/upper-case."
|
||||
|
|
|
|||
Loading…
Reference in a new issue