Skip to content

Commit 0cf2337

Browse files
author
Blankj
committed
see 05/11 log
1 parent bc3b8e9 commit 0cf2337

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,7 @@ before_install:
3636
- chmod +x gradlew
3737
- mkdir "$ANDROID_HOME/licenses" || true
3838
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
39-
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
39+
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
40+
41+
script:
42+
- ./gradlew aDUT -i

utilcode/src/main/java/com/blankj/utilcode/util/TimeUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public final class TimeUtils {
177177
* 注意:SimpleDateFormat不是线程安全的,线程安全需用{@code ThreadLocal<SimpleDateFormat>}
178178
*/
179179

180-
private static final DateFormat DEFAULT_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US);
180+
private static final DateFormat DEFAULT_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault());
181181

182182
private TimeUtils() {
183183
throw new UnsupportedOperationException("u can't instantiate me...");

0 commit comments

Comments
 (0)