git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:nikiroo/fanfix
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
BasicSupport_Deprecated.java
diff --git
a/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java
b/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java
index 47cb7a2c94ed2b965e865e398638d683a8967898..bc3738a211bc22b92ac8811e85a549dd17777618 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java
+++ b/
src/be/nikiroo/fanfix/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);