apiverve_worldtime 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -24
- data/lib/apiverve_worldtime.rb +1 -1
- metadata +6 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df0561990be1ab42b451b0be66d2d3cea21e9b23caae0928604370aacb0c37f2
|
|
4
|
+
data.tar.gz: 20366317f94aa6274497183d0b6e40ea2095fe0c567c88f598ae0bcf23bc292d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40c35022e9a0f764bd53866eaf0fe682718edbcd68a36d2da98f35ede386c91c12572758cd38ce15a42e346f974683447f1d4f8e07301186d6b84a93169a2ec3
|
|
7
|
+
data.tar.gz: 2a0e86d765ab25be6d1999ca04f41115cbf5989d3da53f6960737074f239386115ae4c5162b9707a7a7b70199f539836af2c8fbf90d4d0455c4bb62c25e1d108
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# World Time API - Ruby Gem
|
|
2
2
|
|
|
3
|
-
World Time looks up the current local time, date, and timezone for any city. Search by city name to get matching locations with country codes, IANA timezone identifiers, and formatted times in 12-hour
|
|
3
|
+
World Time looks up the current local time, date, and timezone for any city, or for any latitude and longitude. Search by city name to get matching locations with country codes, IANA timezone identifiers, UTC offsets, and formatted times in 12-hour, 24-hour, and ISO 8601 formats.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -83,18 +83,23 @@ client = APIVerve::Worldtime::Client.new(
|
|
|
83
83
|
"iso3": "ARG",
|
|
84
84
|
"province": "Córdoba",
|
|
85
85
|
"timezone": "America/Argentina/Cordoba",
|
|
86
|
-
"time": "
|
|
87
|
-
"time24": "
|
|
88
|
-
"time12": "
|
|
89
|
-
"date": "
|
|
90
|
-
"day": "
|
|
91
|
-
"month": "
|
|
92
|
-
"year": "
|
|
93
|
-
"unix": "
|
|
86
|
+
"time": "17:51",
|
|
87
|
+
"time24": "17:51:13",
|
|
88
|
+
"time12": "05:51:13 PM",
|
|
89
|
+
"date": "2026-10-26",
|
|
90
|
+
"day": "Monday",
|
|
91
|
+
"month": "October",
|
|
92
|
+
"year": "2026",
|
|
93
|
+
"unix": "1793047873",
|
|
94
94
|
"dst": false,
|
|
95
|
-
"dst_start":
|
|
96
|
-
"dst_end":
|
|
97
|
-
"dst_name": "-03"
|
|
95
|
+
"dst_start": null,
|
|
96
|
+
"dst_end": null,
|
|
97
|
+
"dst_name": "-03",
|
|
98
|
+
"utc_offset": "-03:00",
|
|
99
|
+
"datetime": "2026-10-26T17:51:13-03:00",
|
|
100
|
+
"utc_datetime": "2026-10-26T20:51:13Z",
|
|
101
|
+
"day_of_year": 299,
|
|
102
|
+
"week_number": 44
|
|
98
103
|
},
|
|
99
104
|
{
|
|
100
105
|
"city": "San Francisco",
|
|
@@ -105,18 +110,23 @@ client = APIVerve::Worldtime::Client.new(
|
|
|
105
110
|
"province": "California",
|
|
106
111
|
"state_ansi": "CA",
|
|
107
112
|
"timezone": "America/Los_Angeles",
|
|
108
|
-
"time": "
|
|
109
|
-
"time24": "
|
|
110
|
-
"time12": "
|
|
111
|
-
"date": "
|
|
112
|
-
"day": "
|
|
113
|
-
"month": "
|
|
114
|
-
"year": "
|
|
115
|
-
"unix": "
|
|
116
|
-
"dst":
|
|
117
|
-
"dst_start": "
|
|
118
|
-
"dst_end": "
|
|
119
|
-
"dst_name": "
|
|
113
|
+
"time": "13:51",
|
|
114
|
+
"time24": "13:51:13",
|
|
115
|
+
"time12": "01:51:13 PM",
|
|
116
|
+
"date": "2026-10-26",
|
|
117
|
+
"day": "Monday",
|
|
118
|
+
"month": "October",
|
|
119
|
+
"year": "2026",
|
|
120
|
+
"unix": "1793047873",
|
|
121
|
+
"dst": true,
|
|
122
|
+
"dst_start": "2026-03-08 03:00:00",
|
|
123
|
+
"dst_end": "2026-11-01 01:00:00",
|
|
124
|
+
"dst_name": "PDT",
|
|
125
|
+
"utc_offset": "-07:00",
|
|
126
|
+
"datetime": "2026-10-26T13:51:13-07:00",
|
|
127
|
+
"utc_datetime": "2026-10-26T20:51:13Z",
|
|
128
|
+
"day_of_year": 299,
|
|
129
|
+
"week_number": 44
|
|
120
130
|
}
|
|
121
131
|
]
|
|
122
132
|
}
|
data/lib/apiverve_worldtime.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apiverve_worldtime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- APIVerve
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: faraday
|
|
@@ -59,8 +58,9 @@ dependencies:
|
|
|
59
58
|
- !ruby/object:Gem::Version
|
|
60
59
|
version: '2.0'
|
|
61
60
|
description: World Time looks up the current local time, date, and timezone for any
|
|
62
|
-
city. Search by city name to get matching locations
|
|
63
|
-
|
|
61
|
+
city, or for any latitude and longitude. Search by city name to get matching locations
|
|
62
|
+
with country codes, IANA timezone identifiers, UTC offsets, and formatted times
|
|
63
|
+
in 12-hour, 24-hour, and ISO 8601 formats.
|
|
64
64
|
email:
|
|
65
65
|
- hello@apiverve.com
|
|
66
66
|
executables: []
|
|
@@ -79,7 +79,6 @@ metadata:
|
|
|
79
79
|
source_code_uri: https://github.com/apiverve/worldtime-API/tree/main/ruby
|
|
80
80
|
changelog_uri: https://apiverve.com/changelog
|
|
81
81
|
documentation_uri: https://docs.apiverve.com/ref/worldtime
|
|
82
|
-
post_install_message:
|
|
83
82
|
rdoc_options: []
|
|
84
83
|
require_paths:
|
|
85
84
|
- lib
|
|
@@ -94,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
93
|
- !ruby/object:Gem::Version
|
|
95
94
|
version: '0'
|
|
96
95
|
requirements: []
|
|
97
|
-
rubygems_version:
|
|
98
|
-
signing_key:
|
|
96
|
+
rubygems_version: 4.0.23
|
|
99
97
|
specification_version: 4
|
|
100
98
|
summary: World Time API - Ruby Client
|
|
101
99
|
test_files: []
|