@idm-plugin/meteo2 0.1.0 → 0.1.2
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.
- package/dist/index.js +178 -162
- package/dist/index.umd.cjs +2 -2
- package/dist/openmeteo/src/index.d.ts +7 -1
- package/package.json +1 -1
|
@@ -89,6 +89,12 @@ export declare class MeteoHelper2 {
|
|
|
89
89
|
private prepare;
|
|
90
90
|
private toStdLng;
|
|
91
91
|
private timezoneOffset;
|
|
92
|
+
/**
|
|
93
|
+
* 格式化时区
|
|
94
|
+
* @param offset 单位秒
|
|
95
|
+
* @private
|
|
96
|
+
*/
|
|
97
|
+
private prettyTimezoneOffset;
|
|
92
98
|
/**
|
|
93
99
|
* 预报数据
|
|
94
100
|
*
|
|
@@ -162,7 +168,7 @@ export declare class MeteoHelper2 {
|
|
|
162
168
|
* @param endDate
|
|
163
169
|
* @param options
|
|
164
170
|
*/
|
|
165
|
-
spotClimate(lat: number, lng: number, startDate: string, endDate: string, options?: OMOptions): Promise<{
|
|
171
|
+
spotClimate(lat: number, lng: number, startDate: string, endDate: string | undefined, options?: OMOptions): Promise<{
|
|
166
172
|
weather: any[];
|
|
167
173
|
}>;
|
|
168
174
|
}
|