Skip to content

Commit

Permalink
fixing bug related to date that occurred after migration to github
Browse files Browse the repository at this point in the history
date is taken from a property file as a value that is updated by svn.
after migration, the value is not updated.
I bypassed the bug but we have to fix it in a better way.
Signed-off-by: Amr <amr_alhossary@hotmail.com>
  • Loading branch information
aalhossary committed Apr 25, 2016
1 parent 1ddda3a commit f8db0e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/org/jmol/viewer/JC.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ public static String getMacro(String key) {
}
}
}
if(tmpDate!= null && tmpDate.length() < 23) {
tmpDate=null;
}
if (tmpDate != null) {
tmpDate = tmpDate.substring(7, 23);
// NOTE : date is updated in the properties by SVN, and is in the format
Expand Down

0 comments on commit f8db0e0

Please sign in to comment.