apiverve_worldtime 1.2.3 → 1.2.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -24
  3. data/lib/apiverve_worldtime.rb +1 -1
  4. metadata +6 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74c4f1501a6bffa60e2ebfa4918d0715926b4845cb1c45af6b947f5c158dfabb
4
- data.tar.gz: d66de168ca25da2cca17f5a6eec4dc98a1c483c780394e72474f41ebcb6786fb
3
+ metadata.gz: f2ac27f2229c31090736a416942660df207043d09d4aa910835625123e6ae788
4
+ data.tar.gz: 86a6c59d39ccd60388bea79ffd532bc953106596c28e4f25e156de02dbceff33
5
5
  SHA512:
6
- metadata.gz: b27436d918fa77687648ab42cd03610a16cc0b2ab85f542cf2e7d172ffbfb49f49b051e9ea2f6c580d8140ab963ffe15c8a2b0cbf7a09e05afd3a987c17cff76
7
- data.tar.gz: bff99e42ab4866626f0ef46f168268fa3558997700f68120ac712ebb9fe8c59f6eb4571702089a6c82b52a6134323e43d5e2bb8c4063d8a77e13898f73fa53d6
6
+ metadata.gz: 56a0e08a29a5f15694fe18a542ce23f19d03a9703226b291f599d46c204ded926f7942b9beb55417b33980b2165a1ce832fd9cbfa4ca14c53bc528832f894cf9
7
+ data.tar.gz: 171b7877ac67dcdc053e85a806326935c7bf0524affaa65814a020c51875d52afcf6627db939cf1a8cc0625386a9536f2f331dd928dcb2d85bde37af160977db
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 and 24-hour formats.
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": "19:33",
87
- "time24": "19:33:04",
88
- "time12": "07:33:04 PM",
89
- "date": "2025-12-16",
90
- "day": "Tuesday",
91
- "month": "December",
92
- "year": "2025",
93
- "unix": "1765924384",
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": "2025-12-16 19:33:04",
96
- "dst_end": "2025-12-16 19:33:04",
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": "14:33",
109
- "time24": "14:33:04",
110
- "time12": "02:33:04 PM",
111
- "date": "2025-12-16",
112
- "day": "Tuesday",
113
- "month": "December",
114
- "year": "2025",
115
- "unix": "1765924384",
116
- "dst": false,
117
- "dst_start": "2025-12-16 14:33:04",
118
- "dst_end": "2025-12-16 14:33:04",
119
- "dst_name": "PST"
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
  }
@@ -4,6 +4,6 @@ require_relative "apiverve_worldtime/client"
4
4
 
5
5
  module APIVerve
6
6
  module Worldtime
7
- VERSION = "1.2.3"
7
+ VERSION = "1.2.5"
8
8
  end
9
9
  end
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.3
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIVerve
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-10-26 00:00:00.000000000 Z
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 with country codes, IANA timezone
63
- identifiers, and formatted times in 12-hour and 24-hour formats.
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: 3.0.3.1
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: []