mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-24 06:55:19 -07:00
remove the minus sign
This commit is contained in:
parent
4765960d2c
commit
0a14f63272
1 changed files with 0 additions and 9 deletions
|
@ -249,15 +249,6 @@ String^ DateCalculatorViewModel::GetDateDiffString() const
|
||||||
bool addDelimiter = false;
|
bool addDelimiter = false;
|
||||||
AppResourceProvider resourceLoader = AppResourceProvider::GetInstance();
|
AppResourceProvider resourceLoader = AppResourceProvider::GetInstance();
|
||||||
|
|
||||||
if (m_toDate.UniversalTime < m_fromDate.UniversalTime)
|
|
||||||
{
|
|
||||||
result = L"- ";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
result = L"";
|
|
||||||
}
|
|
||||||
|
|
||||||
auto yearCount = m_dateDiffResult.year;
|
auto yearCount = m_dateDiffResult.year;
|
||||||
if (yearCount > 0)
|
if (yearCount > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue