deloptes wrote: Sorry there was a copy paste error this is in listkeys.cpp ret.gpgkeysize=keyString[2]; ret.gpgkeycreation=keyString[5]; if(!ret.gpgkeycreation.isEmpty()) { kdDebug(2100) << "keyCreated: " << ret.gpgkeycreation<<endl; TQDate date = TQDate::fromString(ret.gpgkeycreation, Qt::ISODate); if (!date.isValid()) { TQDateTime timestamp; timestamp.setTime_t( ret.gpgkeycreation.toInt()); date = timestamp.date(); } kdDebug(2100) << "extractKey1: " << date<<endl; ret.gpgkeycreation=TDEGlobal::locale()->formatDate(date, true); kdDebug(2100) << "gpgkeycreation1: " << ret.gpgkeycreation<<endl; } TQString tid=keyString[4]; ret.gpgkeyid=TQString("0x"+tid.right(8)); ret.gpgkeyexpiration=keyString[6]; if (ret.gpgkeyexpiration.isEmpty()) ret.gpgkeyexpiration=i18n("Unlimited"); else { TQDate date = TQDate::fromString(ret.gpgkeyexpiration, Qt::ISODate); if (!date.isValid()) { TQDateTime timestamp; timestamp.setTime_t(ret.gpgkeyexpiration.toInt()); date = timestamp.date(); } kdDebug(2100) << "extractKey2: " << date<<endl; ret.gpgkeyexpiration=TDEGlobal::locale()->formatDate(date, true); kdDebug(2100) << "gpgkeyexpiration2: " << ret.gpgkeyexpiration<<endl; } > regards --------------------------------------------------------------------- To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting