From 87078bbd2792cf535325c20817ea33a8fcdbbf22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Fri, 12 Jun 2020 19:07:47 +0300 Subject: [PATCH] Move JavaScript-API document and enhance timing doc. --- docs/en/API/JavaScript-API/Auth.md | 3 --- docs/en/AspNetCore/JavaScript-API/Auth.md | 3 --- docs/en/AspNetCore/JavaScript-API/Index.md | 3 --- docs/en/Timing.md | 16 +++++++++++++++- .../AspNetCore}/JavaScript-API/Index.md | 5 ++--- 5 files changed, 17 insertions(+), 13 deletions(-) delete mode 100644 docs/en/API/JavaScript-API/Auth.md delete mode 100644 docs/en/AspNetCore/JavaScript-API/Auth.md delete mode 100644 docs/en/AspNetCore/JavaScript-API/Index.md rename docs/en/{API => UI/AspNetCore}/JavaScript-API/Index.md (92%) diff --git a/docs/en/API/JavaScript-API/Auth.md b/docs/en/API/JavaScript-API/Auth.md deleted file mode 100644 index 60c9eb8866..0000000000 --- a/docs/en/API/JavaScript-API/Auth.md +++ /dev/null @@ -1,3 +0,0 @@ -# abp.auth JavaScript API - -TODO \ No newline at end of file diff --git a/docs/en/AspNetCore/JavaScript-API/Auth.md b/docs/en/AspNetCore/JavaScript-API/Auth.md deleted file mode 100644 index fb83bcfbff..0000000000 --- a/docs/en/AspNetCore/JavaScript-API/Auth.md +++ /dev/null @@ -1,3 +0,0 @@ -This document has moved. - -[Click to navigate to JavaScript Auth document](../../API/JavaScript-API/Auth.md) \ No newline at end of file diff --git a/docs/en/AspNetCore/JavaScript-API/Index.md b/docs/en/AspNetCore/JavaScript-API/Index.md deleted file mode 100644 index 1ed7f0285c..0000000000 --- a/docs/en/AspNetCore/JavaScript-API/Index.md +++ /dev/null @@ -1,3 +0,0 @@ -This document has moved. - -[Click to navigate to JavaScript API document](../../API/JavaScript-API/Index.md) \ No newline at end of file diff --git a/docs/en/Timing.md b/docs/en/Timing.md index f67bd5d180..fbdd899f22 100644 --- a/docs/en/Timing.md +++ b/docs/en/Timing.md @@ -96,4 +96,18 @@ In addition to the `Now`, `IClock` service has the following properties: * `Kind`: Returns a `DateTimeKind` for the currently used clock type (`DateTimeKind.Utc`, `DateTimeKind.Local` or `DateTimeKind.Unspecified`). * `SupportsMultipleTimezone`: Returns `true` if currently used clock is UTC. -### \ No newline at end of file +## Time Zones + +This section covers the ABP Framework infrastructure related to managing time zones. + +### TimeZone Setting + +ABP Framework defines a setting, named `Abp.Timing.Timezone`, that can be used to set and get the time zone for a user, [tenant](Multi-Tenancy.md) or globally for the application. The default value is `UTC`. + +See the [setting documentation](Settings.md) to learn more about the setting system. + +### ITimezoneProvider + +`ITimezoneProvider` is a service to simple convert [Windows Time Zone Id](https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values) values to [Iana Time Zone Name](https://www.iana.org/time-zones) values and vice verse. It also provides methods to get list of these time zones and get a `TimeZoneInfo` with a given name. + +It has been implemented using the [TimeZoneConverter](https://github.com/mj1856/TimeZoneConverter) library. \ No newline at end of file diff --git a/docs/en/API/JavaScript-API/Index.md b/docs/en/UI/AspNetCore/JavaScript-API/Index.md similarity index 92% rename from docs/en/API/JavaScript-API/Index.md rename to docs/en/UI/AspNetCore/JavaScript-API/Index.md index ca9afca97f..9f584eacfb 100644 --- a/docs/en/API/JavaScript-API/Index.md +++ b/docs/en/UI/AspNetCore/JavaScript-API/Index.md @@ -5,7 +5,7 @@ ABP provides some JavaScript APIs for ASP.NET Core MVC / Razor Pages application ## APIs * abp.ajax -* [abp.auth](Auth.md) +* abp.auth * abp.currentUser * abp.dom * abp.event @@ -20,5 +20,4 @@ ABP provides some JavaScript APIs for ASP.NET Core MVC / Razor Pages application * abp.utils * abp.ResourceLoader * abp.WidgetManager -* Other APIs - +* Other APIs \ No newline at end of file