-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmos.yml
37 lines (30 loc) · 1.36 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
author: mamuesp
description: Timezone related functions
version: 0.2
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
config_schema:
- ["timezone", "o", {title: "Timezone info settings"}]
- ["timezone.enable", "b", true, {title: "Set timezone when initializing the library"}]
- ["timezone.data_path", "s", "", {title: "Timezone space where time zone data is stored"}]
- ["timezone.arch_file", "s", "tz-archive.zip", {title: "The ZIP file containing the data"}]
- ["timezone.olson", "s", "Etc/UTC", {title: "Current timezone in Olson notation"}]
# will be activated in a later version
- ["timezone.latitude", "d", 0.0, {title: "Timezone coordinates latitude"}]
- ["timezone.longitude", "d", 0.0, {title: "Timezone coordinates longitude"}]
- ["timezone.api_account", "s", "", {title: "The API account ID to retreive TZ infos from a location"}]
- ["timezone.api_url", "s", "https://api.askgeo.com/v1/%s/%s/query.json?points=%f,%f&databases=TimeZone", {title: "The API URL to retreive TZ infos from a location"}]
- ["timezone.api_key", "s", "", {title: "The API key to retrieve TZ infos from a location"}]
sources:
- src
includes:
- include
filesystem:
- fs
tags:
- c
libs:
- origin: https://github.com/mamuesp-libs/common-tools
- origin: https://github.com/mamuesp/zip-tools
manifest_version: 2017-09-29