|
|
|
@ -1495,6 +1495,9 @@ void CInterfaceManager::updateFrameEvents()
|
|
|
|
|
{
|
|
|
|
|
if (pVT->getActive())
|
|
|
|
|
{
|
|
|
|
|
if (use12hClock())
|
|
|
|
|
str = getTimestampHuman("%I:%M %p");
|
|
|
|
|
else
|
|
|
|
|
str = getTimestampHuman("%H:%M");
|
|
|
|
|
pVT->setText(str);
|
|
|
|
|
}
|
|
|
|
@ -3639,6 +3642,14 @@ void CInterfaceManager::CServerToLocalAutoCopy::onLocalChange(ICDBNode *localNod
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
|
bool CInterfaceManager::use12hClock()
|
|
|
|
|
{
|
|
|
|
|
CCDBNodeLeaf *node = NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:SHOW_CLOCK_12H", false);
|
|
|
|
|
|
|
|
|
|
return (node && node->getValueBool());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
|
char* CInterfaceManager::getTimestampHuman(const char* format /* "[%H:%M:%S] " */)
|
|
|
|
|
{
|
|
|
|
|