Skip to content

Commit

Permalink
fix time format bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomZZQ committed Apr 28, 2016
1 parent 339b676 commit 66ecce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public abstract class Constants {
/**
* log记录中时间的显示格式
*/
public static final String DATE_FORMAT = "yyyy-mm-dd hh:mm:ss.SSS";
public static final String DATE_FORMAT = "yyyy-MM-dd hh:mm:ss.SSS";
/**
* 操作类型 连接
*/
Expand Down
2 changes: 1 addition & 1 deletion src/utils/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static void writeFileAppend(String fileName, String content) {
// 文件长度,字节数

long fileLength = randomFile.length();

//将写文件指针移到文件尾

randomFile.seek(fileLength);
Expand Down

0 comments on commit 66ecce4

Please sign in to comment.