Browse Source

Move JavaScript-API document and enhance timing doc.

pull/4383/head
Halil İbrahim Kalkan 6 years ago
parent
commit
87078bbd27
  1. 3
      docs/en/API/JavaScript-API/Auth.md
  2. 3
      docs/en/AspNetCore/JavaScript-API/Auth.md
  3. 3
      docs/en/AspNetCore/JavaScript-API/Index.md
  4. 16
      docs/en/Timing.md
  5. 5
      docs/en/UI/AspNetCore/JavaScript-API/Index.md

3
docs/en/API/JavaScript-API/Auth.md

@ -1,3 +0,0 @@
# abp.auth JavaScript API
TODO

3
docs/en/AspNetCore/JavaScript-API/Auth.md

@ -1,3 +0,0 @@
This document has moved.
[Click to navigate to JavaScript Auth document](../../API/JavaScript-API/Auth.md)

3
docs/en/AspNetCore/JavaScript-API/Index.md

@ -1,3 +0,0 @@
This document has moved.
[Click to navigate to JavaScript API document](../../API/JavaScript-API/Index.md)

16
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.
###
## 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.

5
docs/en/API/JavaScript-API/Index.md → 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
Loading…
Cancel
Save