diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-08-26 13:17:12 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-08-26 13:17:12 +0200 |
commit | d4db8f570730be85039435919ec78b119d7da3f5 (patch) | |
tree | be0ed8a9c41e7c5dbf723709c3998379a388e060 /l10ntools/java/jpropex/java/JPropEx.java | |
parent | 3276498b1d3b6337e33621b351755b02abea6e30 (diff) |
masterfix: #i10000# modify extract date and dummy fields for string database
Diffstat (limited to 'l10ntools/java/jpropex/java/JPropEx.java')
-rw-r--r-- | l10ntools/java/jpropex/java/JPropEx.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/l10ntools/java/jpropex/java/JPropEx.java b/l10ntools/java/jpropex/java/JPropEx.java index be59d7f29479..ceeeb5083982 100644 --- a/l10ntools/java/jpropex/java/JPropEx.java +++ b/l10ntools/java/jpropex/java/JPropEx.java @@ -145,8 +145,11 @@ public class JPropEx //String path = makeAbs( inputFileArg ); path = path.replace( rootArg + "/" , "" ); path = path.replace("/","\\"); - return new SdfEntity( projectArg , path , "" /* dummy1 */ , resourceType , "", "" , "" , "" , "" /* dummy2 */ , - sourceLanguage , "", "" , "" , "" , "2002-02-02 02:02:02" ); + // TODO: Make this static + java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + String date = dateformat.format( new Date() ); + return new SdfEntity( projectArg , path , "0" /* dummy1 */ , resourceType , "", "" , "" , "" , "0" /* dummy2 */ , + sourceLanguage , "", "" , "" , "" , date ); } private void merge() |