diff --git a/README.md b/README.md
index d4b74e3..3b51f7a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#Java 'TimeAgo' multilanguage library
+#Java 'TimeAgo' multilanguage library 1.5.0
This is a Java port of the [jquery-timeago](https://github.com/rmm5t/jquery-timeago) plug-in. Please visit the [jquery-timeago](http://rmm5t.github.com/jquery-timeago/) project page to read more about fuzzy timestamps.
@@ -19,7 +19,7 @@ This library is forked from Kevin Sawicki's 'java-timeago' to support more than
com.github.Kinnonii
java-timeago
- timeago-1.1.3
+ 1.5.0
```
###Gradle
@@ -31,7 +31,7 @@ repositories {
}
}
dependencies {
- compile 'com.github.Kinnonii:java-timeago:timeago-1.1.3'
+ compile 'com.github.Kinnonii:java-timeago:1.5.0'
}
```
@@ -69,11 +69,8 @@ dependencies {
}
```
-##Currently in work
-* Deutsch
-* French
-It supports English, Spanish and Italian at the time.
+####It supports English, Spanish and Italian, French and German at the time.
##Usage
@@ -81,6 +78,8 @@ It supports English, Spanish and Italian at the time.
TimeAgo time = new TimeAgo('en'); //For English text.
//TimeAgo time = new TimeAgo('it'); //For Italian text.
//TimeAgo time = new TimeAgo('es'); //For Spanish text.
+//TimeAgo time = new TimeAgo('de'); //For German text.
+//TimeAgo time = new TimeAgo('fr'); //For French text.
long current = System.currentTimeMillis();
diff --git a/timeago/pom.xml b/timeago/pom.xml
index 22ffd23..20f84c7 100644
--- a/timeago/pom.xml
+++ b/timeago/pom.xml
@@ -1,137 +1,141 @@
- 4.0.0
+ 4.0.0
-
- org.sonatype.oss
- oss-parent
- 7
-
+
+ org.sonatype.oss
+ oss-parent
+ 7
+
- com.github.Kinnonii
- timeago
- 1.1.0
+ com.github.Kinnonii
+ timeago
+ 1.5.0
- Time Ago
- Simple Java library for converting dates to time ago strings.
- http://www.github.com/kevinsawicki/java-timeago
+ Multilanguage Time Ago
+ Java library that converts dates into "Time ago" strings, supporting multiple languages..
+ http://www.github.com/Kinnonii/Java-TimeAgo-Multilanguage
-
- https://github.com/kevinsawicki/java-timeago/issues
- GitHub Issues
-
+
+ https://github.com/Kinnonii/Java-TimeAgo-Multilanguage/issues
+ GitHub Issues
+
-
-
- MIT License
- http://www.opensource.org/licenses/mit-license.php
- repo
-
-
+
+
+ MIT License
+ http://www.opensource.org/licenses/mit-license.php
+ repo
+
+
-
- https://github.com/kinnonii/java-timeago
- scm:git:git://github.com/kinnonii/java-timeago.git
- scm:git:git@github.com:kinnonii/java-timeago.git
-
+
+ https://github.com/kinnonii/java-timeago
+ scm:git:git://github.com/kinnonii/java-timeago.git
+ scm:git:git@github.com:kinnonii/java-timeago.git
+
-
-
- kevinsawicki@gmail.com
- Kevin Sawicki
- https://github.com/kevinsawicki
- kevinsawicki
-
-
+
+
+ pedro.a.1smr@gmail.com
+ Pedro Adame Vergara
+ https://github.com/KinnonII
+ kinnonii
+
+
-
- UTF-8
-
+
+ UTF-8
+
-
-
-
- src/main/java
-
- **/*.properties
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
-
- 1.5
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- true
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
-
-
-
- jar
-
-
-
-
-
- org.apache.maven.plugins
- maven-source-plugin
-
-
-
- jar
-
-
-
-
-
-
+
+
+
+ src/main/java
+
+ **/*.properties
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+
+ 1.5
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.4
+
+
+
+ true
+ true
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.10.3
+
+
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.4
+
+
+
+ jar
+
+
+
+
+
+
-
-
- sign
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-
-
-
-
-
+
+
+ sign
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+
+
-
-
- junit
- junit
- 4.8
- test
-
-
-
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
\ No newline at end of file
diff --git a/timeago/src/main/java/com/github/kevinsawicki/timeago/Messages.java b/timeago/src/main/java/com/github/kinnonii/timeago/Messages.java
similarity index 88%
rename from timeago/src/main/java/com/github/kevinsawicki/timeago/Messages.java
rename to timeago/src/main/java/com/github/kinnonii/timeago/Messages.java
index cbd26af..b6a62e1 100644
--- a/timeago/src/main/java/com/github/kevinsawicki/timeago/Messages.java
+++ b/timeago/src/main/java/com/github/kinnonii/timeago/Messages.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Kevin Sawicki
+ * Copyright (c) 2015 Pedro Adame Vergara
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -19,7 +19,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-package com.github.kevinsawicki.timeago;
+package com.github.kinnonii.timeago;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
@@ -29,7 +29,7 @@
*/
public class Messages {
- private static final String BUNDLE_NAME = "com.github.kevinsawicki.timeago.messages"; //$NON-NLS-1$
+ private static final String BUNDLE_NAME = "com.github.kinnonii.timeago.messages"; //$NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle(BUNDLE_NAME);
diff --git a/timeago/src/main/java/com/github/kevinsawicki/timeago/TimeAgo.java b/timeago/src/main/java/com/github/kinnonii/timeago/TimeAgo.java
similarity index 99%
rename from timeago/src/main/java/com/github/kevinsawicki/timeago/TimeAgo.java
rename to timeago/src/main/java/com/github/kinnonii/timeago/TimeAgo.java
index 59a5625..375ec97 100644
--- a/timeago/src/main/java/com/github/kevinsawicki/timeago/TimeAgo.java
+++ b/timeago/src/main/java/com/github/kinnonii/timeago/TimeAgo.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 Pedro Adame
+ * Copyright (c) 2015 Pedro Adame Vergara
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -19,7 +19,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-package com.github.kevinsawicki.timeago;
+package com.github.kinnonii.timeago;
import java.text.MessageFormat;
import java.util.Date;
diff --git a/timeago/src/main/java/com/github/kevinsawicki/timeago/messages.properties b/timeago/src/main/java/com/github/kinnonii/timeago/messages.properties
similarity index 100%
rename from timeago/src/main/java/com/github/kevinsawicki/timeago/messages.properties
rename to timeago/src/main/java/com/github/kinnonii/timeago/messages.properties
diff --git a/timeago/src/main/java/com/github/kevinsawicki/timeago/tests/TimeAgoTest.java b/timeago/src/test/java/TimeAgoTest.java
similarity index 97%
rename from timeago/src/main/java/com/github/kevinsawicki/timeago/tests/TimeAgoTest.java
rename to timeago/src/test/java/TimeAgoTest.java
index 128dc2f..8ea6929 100644
--- a/timeago/src/main/java/com/github/kevinsawicki/timeago/tests/TimeAgoTest.java
+++ b/timeago/src/test/java/TimeAgoTest.java
@@ -1,6 +1,6 @@
-package com.github.kevinsawicki.timeago.tests;
+package com.github.kinnonii.timeago.tests;
/*
- * Copyright (c) 2011 Kevin Sawicki
+ * Copyright (c) 2015 Pedro Adame Vergara
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
@@ -20,10 +20,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-import com.github.kevinsawicki.timeago.TimeAgo;
+import com.github.kinnonii.timeago.TimeAgo;
import java.text.MessageFormat;
-
import junit.framework.TestCase;
/**