0
sukhdeep.dhillon created
- ABP Framework version: v7.2.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
Hi,
in ABP, is there any specific way to implement the following:
- How to convert application wide datetime from UTC to EST
- Format datetime for all API responses
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
4 Answer(s)
-
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Format datetime for all API responses
can you elaborate
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
thanks you for your response if return Dto has property of type DateTime then it should follow some kind of format like yyyy-MM-dd like that
how can I set any kind of specific format for all DateTime type
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
You can configure the
AbpJsonOptionshttps://docs.abp.io/en/abp/latest/JSON#abpjsonoptions
services.Configure<AbpJsonOptions>(options => { options.OutputDateTimeFormat = "yyyy-MM-dd"; });Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
