Merge branch 'animesh' of https://github.com/Lirusaito/SingularityViewer into animesh
This commit is contained in:
@@ -7045,7 +7045,7 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>String</string>
|
<string>String</string>
|
||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<string>%Y-%m-%d</string>
|
<string>%F</string>
|
||||||
</map>
|
</map>
|
||||||
<key>ShortTimeFormat</key>
|
<key>ShortTimeFormat</key>
|
||||||
<map>
|
<map>
|
||||||
@@ -7056,7 +7056,7 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>String</string>
|
<string>String</string>
|
||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<string>%H:%M</string>
|
<string>%R</string>
|
||||||
</map>
|
</map>
|
||||||
<key>LongTimeFormat</key>
|
<key>LongTimeFormat</key>
|
||||||
<map>
|
<map>
|
||||||
@@ -7067,7 +7067,7 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>String</string>
|
<string>String</string>
|
||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<string>%H:%M:%S</string>
|
<string>%T</string>
|
||||||
</map>
|
</map>
|
||||||
<key>TimestampFormat</key>
|
<key>TimestampFormat</key>
|
||||||
<map>
|
<map>
|
||||||
@@ -7078,7 +7078,7 @@ This should be as low as possible, but too low may break functionality</string>
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>String</string>
|
<string>String</string>
|
||||||
<key>Value</key>
|
<key>Value</key>
|
||||||
<string>%a %d %b %Y %H:%M:%S</string>
|
<string>%a %d %b %Y %T</string>
|
||||||
</map>
|
</map>
|
||||||
<key>SecondsInChatAndIMs</key>
|
<key>SecondsInChatAndIMs</key>
|
||||||
<map>
|
<map>
|
||||||
|
|||||||
@@ -128,9 +128,9 @@ void LLPrefsAscentChat::onCommitTimeDate(LLUICtrl* ctrl)
|
|||||||
|
|
||||||
if (tempTimeFormat == 0)
|
if (tempTimeFormat == 0)
|
||||||
{
|
{
|
||||||
short_time = "%H:%M";
|
short_time = "%R";
|
||||||
long_time = "%H:%M:%S";
|
long_time = "%T";
|
||||||
timestamp = " %H:%M:%S";
|
timestamp = " %T";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -141,7 +141,7 @@ void LLPrefsAscentChat::onCommitTimeDate(LLUICtrl* ctrl)
|
|||||||
|
|
||||||
if (tempDateFormat == 0)
|
if (tempDateFormat == 0)
|
||||||
{
|
{
|
||||||
short_date = "%Y-%m-%d";
|
short_date = "%F";
|
||||||
long_date = "%A %d %B %Y";
|
long_date = "%A %d %B %Y";
|
||||||
timestamp = "%a %d %b %Y" + timestamp;
|
timestamp = "%a %d %b %Y" + timestamp;
|
||||||
}
|
}
|
||||||
@@ -153,7 +153,7 @@ void LLPrefsAscentChat::onCommitTimeDate(LLUICtrl* ctrl)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
short_date = "%m/%d/%Y";
|
short_date = "%D";
|
||||||
long_date = "%A, %B %d %Y";
|
long_date = "%A, %B %d %Y";
|
||||||
timestamp = "%a %b %d %Y" + timestamp;
|
timestamp = "%a %b %d %Y" + timestamp;
|
||||||
}
|
}
|
||||||
@@ -218,11 +218,11 @@ void LLPrefsAscentChat::refreshValues()
|
|||||||
}
|
}
|
||||||
|
|
||||||
format = gSavedSettings.getString("ShortDateFormat");
|
format = gSavedSettings.getString("ShortDateFormat");
|
||||||
if (format.find("%m/%d/%") != std::string::npos)
|
if (format.find("%D") != std::string::npos || format.find("%m/%d/%") != std::string::npos)
|
||||||
{
|
{
|
||||||
mDateFormat = 2;
|
mDateFormat = 2;
|
||||||
}
|
}
|
||||||
else if (format.find("%d/%m/%") != -1)
|
else if (format.find("%d/%m/%") != std::string::npos)
|
||||||
{
|
{
|
||||||
mDateFormat = 1;
|
mDateFormat = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
bottom="-20" disabled_color="TimeTextColor" drop_shadow_visible="true"
|
bottom="-20" disabled_color="TimeTextColor" drop_shadow_visible="true"
|
||||||
enabled="true" follows="right|bottom" font="SansSerifSmall" h_pad="0"
|
enabled="true" follows="right|bottom" font="SansSerifSmall" h_pad="0"
|
||||||
halign="right" height="18" left="-430" mouse_opaque="true" name="TimeText"
|
halign="right" height="18" left="-430" mouse_opaque="true" name="TimeText"
|
||||||
text_color="TimeTextColor" tool_tip="Current Time (Pacific)" v_pad="2" width="80">
|
text_color="TimeTextColor" tool_tip="Current Time (Pacific)" v_pad="2" width="120">
|
||||||
12:00 AM
|
12:00 AM
|
||||||
</text>
|
</text>
|
||||||
<string name="StatBarDaysOfWeek">
|
<string name="StatBarDaysOfWeek">
|
||||||
|
|||||||
Reference in New Issue
Block a user