From 32511fc3aa487d6f29f7960db5322203a4ba1bb9 Mon Sep 17 00:00:00 2001 From: hello Date: Fri, 12 Apr 2024 15:34:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BD=93=E5=89=8D=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/helloshop/localization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/helloshop/localization.md b/notes/helloshop/localization.md index dafbe4d..d727a2c 100644 --- a/notes/helloshop/localization.md +++ b/notes/helloshop/localization.md @@ -111,8 +111,8 @@ public class HelloWorldController(IStringLocalizerFactory stringLocalizerFactory [HttpGet("time")] public IActionResult GetTime( { - //string amount=88.88m.ToString("C"); - return Ok(TimeProvider.UtcNow.ToString()); + //string amount=88.88.ToString("C"); + return Ok(TimeProvider.System.GetUtcNow().ToString()); } } ```