Jira (PDB-4068) Migrate to clojure.java-time or directly to built-in Java time

3 views
Skip to first unread message

Rob Browning (JIRA)

unread,
Sep 7, 2018, 12:07:03 PM9/7/18
to puppe...@googlegroups.com
Rob Browning created an issue
 
PuppetDB / Improvement PDB-4068
Migrate to clojure.java-time or directly to built-in Java time
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2018/09/07 9:06 AM
Priority: Normal Normal
Reporter: Rob Browning

(If it turns out our uses are simple enough, might want to just drop the extra dependency instead of migrating to the new wrapper.)

From https://github.com/clj-time/clj-time#clj-time---:

A date and time library for Clojure, wrapping the Joda Time library. The Joda Time website says:

Note that from Java SE 8 onwards, users are asked to migrate to java.time (JSR-310) - a core part of the JDK which replaces this project.

If you are using Java 8 or later, consider using the built-in Java Time instead of Joda Time – and look at clojure.java-time if you want a Clojure wrapper for that. See Converting from Joda Time to java.time for more details about the similarities and differences between the two libraries.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Rob Browning (JIRA)

unread,
Oct 3, 2018, 7:26:04 PM10/3/18
to puppe...@googlegroups.com

Rob Browning (JIRA)

unread,
Apr 29, 2019, 4:49:01 PM4/29/19
to puppe...@googlegroups.com
Rob Browning commented on Improvement PDB-4068
 
Re: Migrate to clojure.java-time or directly to built-in Java time

My current inclination is to just move to use java.time directly as the implementation, after migrating all of the relevant time functions to puppetdb.time (i.e. so that's the only place we call external time libraries).

It also looks like this might be substantially easier if https://www.threeten.org/threeten-extra/ is a reasonable dependency.

Rob Browning (JIRA)

unread,
Apr 29, 2019, 4:52:02 PM4/29/19
to puppe...@googlegroups.com
Rob Browning commented on Improvement PDB-4068

See the linked tickets for relevant progress.

Rob Browning (Jira)

unread,
May 11, 2020, 12:32:03 PM5/11/20
to puppe...@googlegroups.com
Rob Browning updated an issue
 
Change By: Rob Browning
Labels: pdb/suspended
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Rob Browning (Jira)

unread,
Nov 16, 2020, 3:02:04 PM11/16/20
to puppe...@googlegroups.com
Rob Browning assigned an issue to Unassigned
Change By: Rob Browning
Assignee: Rob Browning
Reply all
Reply to author
Forward
0 new messages