Commit 054043ac authored by R.W.Majeed's avatar R.W.Majeed
Browse files

use preference key

parent 6cd35edc
......@@ -73,7 +73,7 @@ public class CDAImporter extends AbstractCDAImporter implements AutoCloseable{
*/
// data dialect
DataDialect dd = new DataDialect();
String tz = prefs.get("i2b2.db.tz"); // TODO use PreferenceKey enum
String tz = prefs.get(PreferenceKey.i2b2DatabaseTimezone);
if( tz != null ){
dd.setTimeZone(ZoneId.of(tz));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment