retrogradeorbit / bootleg

Simple template processing command line tool to help build static websites
Eclipse Public License 2.0
254 stars 12 forks source link

add clj-time #51

Closed retrogradeorbit closed 4 years ago

borkdude commented 4 years ago

Note that by some clj-time is considered deprecated since joda-time is also considered deprecated now that we have java.time. In babashka I've chosen to just add all of the java.time classes so people can just use those as they see fit (e.g. build a small library on top of that). Just my 2 cts.

retrogradeorbit commented 4 years ago

@borkdude good idea. I didn't realise about the deprecation for java.time. I will start investigating java.time. Thanks for the tip!

retrogradeorbit commented 4 years ago
$ bootleg -d -e '(import [java.time LocalDate]) (LocalDate/now)'
#object[java.time.LocalDate "0x7d108063" "2020-01-28"]