mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
use short date (#739)
This commit is contained in:
parent
afa144cd16
commit
bc2d2d4e9d
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ wstring CurrencyDataLoader::GetCurrencyTimestamp()
|
|||
DateTime epoch{};
|
||||
if (m_cacheTimestamp.UniversalTime != epoch.UniversalTime)
|
||||
{
|
||||
DateTimeFormatter ^ dateFormatter = ref new DateTimeFormatter(L"{month.abbreviated} {day.integer}, {year.full}");
|
||||
DateTimeFormatter ^ dateFormatter = ref new DateTimeFormatter(L"shortdate");
|
||||
wstring date = dateFormatter->Format(m_cacheTimestamp)->Data();
|
||||
|
||||
DateTimeFormatter ^ timeFormatter = ref new DateTimeFormatter(L"shorttime");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue