Skip to content

nadiration/prettytime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettytime

Badge

Social Style Date and Time Formatting for Java

Learn more at http://ocpsoft.org/prettytime/

Android

To use prettytime in android, first add the following dependency to your app level build.gradle

implementation 'org.ocpsoft.prettytime:prettytime:4.0.4.Final'

ProGuard rules are automatically configured for you if you use the R8 shrinker (which is the default since version 3.4.0 of the Android Gradle Plugin). If you are using an older version of AGP, add the ProGuard rules from this file

Be sure to check maven central for the latest version: https://repo1.maven.org/maven2/org/ocpsoft/prettytime/prettytime/

Note: To use prettytime in projects with a minSdkVersion below 26, API desugaring is required.

DEVELOPMENT

force-release: mvn release:prepare release:perform -DskipTests=true -DdevelopmentVersion=4.0.2-SNAPSHOT -DreleaseVersion=4.0.1.Final -Dtag=4.0.1.Final -Darguments="-DskipTests=true -Dmaven.test.skip=true"

About

Social Style Date and Time Formatting for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%