panchang-ts 0.5.0 → 0.5.1

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/README.md CHANGED
@@ -44,7 +44,7 @@ import { getDailyPanchang } from 'panchang-ts';
44
44
 
45
45
  const result = getDailyPanchang(
46
46
  new Date(2025, 0, 14), // January 14, 2025
47
- { latitude: 18.5204, longitude: 73.8567 }, // Pune, India
47
+ { latitude: 23.1765, longitude: 75.7885 }, // Ujjain, India
48
48
  { timezone: 330 }, // IST = UTC+5:30 = 330 minutes
49
49
  );
50
50
 
package/dist/index.d.cts CHANGED
@@ -224,7 +224,7 @@ interface InstantPanchangResult {
224
224
  *
225
225
  * const p = getInstantPanchang(
226
226
  * new Date('2025-01-14T03:00:00Z'),
227
- * { latitude: 18.5204, longitude: 73.8567 },
227
+ * { latitude: 23.1765, longitude: 75.7885 }, // Ujjain, India
228
228
  * { language: 'sa' },
229
229
  * );
230
230
  * console.log(p.tithi.name); // "कृष्ण चतुर्दशी"
@@ -263,7 +263,7 @@ declare function getInstantPanchang(date: Date, location: GeoLocation, options?:
263
263
  *
264
264
  * const result = getDailyPanchang(
265
265
  * new Date(2025, 0, 14), // Jan 14, 2025
266
- * { latitude: 18.5204, longitude: 73.8567 }, // Pune, India
266
+ * { latitude: 23.1765, longitude: 75.7885 }, // Ujjain, India
267
267
  * { timezone: 330 }, // IST = UTC+5:30
268
268
  * );
269
269
  *
package/dist/index.d.ts CHANGED
@@ -224,7 +224,7 @@ interface InstantPanchangResult {
224
224
  *
225
225
  * const p = getInstantPanchang(
226
226
  * new Date('2025-01-14T03:00:00Z'),
227
- * { latitude: 18.5204, longitude: 73.8567 },
227
+ * { latitude: 23.1765, longitude: 75.7885 }, // Ujjain, India
228
228
  * { language: 'sa' },
229
229
  * );
230
230
  * console.log(p.tithi.name); // "कृष्ण चतुर्दशी"
@@ -263,7 +263,7 @@ declare function getInstantPanchang(date: Date, location: GeoLocation, options?:
263
263
  *
264
264
  * const result = getDailyPanchang(
265
265
  * new Date(2025, 0, 14), // Jan 14, 2025
266
- * { latitude: 18.5204, longitude: 73.8567 }, // Pune, India
266
+ * { latitude: 23.1765, longitude: 75.7885 }, // Ujjain, India
267
267
  * { timezone: 330 }, // IST = UTC+5:30
268
268
  * );
269
269
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panchang-ts",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Pure TypeScript Hindu Panchang calculations. Tithi, Nakshatra, Yoga, Karana, Vara, and more. Offline-first, React Native compatible.",
5
5
  "author": "Ishank",
6
6
  "license": "MIT",