git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix creation date format
[nikiroo-utils.git]
/
supported
/
BasicSupport_Deprecated.java
diff --git
a/supported/BasicSupport_Deprecated.java
b/supported/BasicSupport_Deprecated.java
index 98b74db5d0567f9d415b6da23a3d849a79faa8ed..bc3738a211bc22b92ac8811e85a549dd17777618 100644
(file)
--- a/
supported/BasicSupport_Deprecated.java
+++ b/
supported/BasicSupport_Deprecated.java
@@
-205,8
+205,9
@@
public abstract class BasicSupport_Deprecated extends BasicSupport {
Story story = new Story();
MetaData meta = getMeta(url, getInput());
if (meta.getCreationDate() == null
Story story = new Story();
MetaData meta = getMeta(url, getInput());
if (meta.getCreationDate() == null
- || meta.getCreationDate().isEmpty()) {
- meta.setCreationDate(StringUtils.fromTime(new Date().getTime()));
+ || meta.getCreationDate().trim().isEmpty()) {
+ meta.setCreationDate(bsHelper.formatDate(
+ StringUtils.fromTime(new Date().getTime())));
}
story.setMeta(meta);
pg.put("meta", meta);
}
story.setMeta(meta);
pg.put("meta", meta);
@@
-269,8
+270,6
@@
public abstract class BasicSupport_Deprecated extends BasicSupport {
pgMeta.setProgress(pgMeta.getMax()); // 10%
}
pgMeta.setProgress(pgMeta.getMax()); // 10%
}
- pg.setName("Retrieving " + story.getMeta().getTitle());
-
setCurrentReferer(url);
Progress pgGetChapters = new Progress();
setCurrentReferer(url);
Progress pgGetChapters = new Progress();