1.5.7
Profile memory Comment cleanup
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// ════════════════════════════════════════════════════════════════════════
|
||||
// almanac-calendar.js — Extended event calendar for the "What's Coming"
|
||||
// ------------------------------------------------------------------------
|
||||
// almanac-calendar.js - Extended event calendar for the "What's Coming"
|
||||
// panel and getUpcomingEvents() export.
|
||||
//
|
||||
// Includes all events from COSMIC_CALENDAR plus multi-year entries.
|
||||
// Each entry has a `latHint`:
|
||||
// Each entry has a 'latHint':
|
||||
// null = global / no hint
|
||||
// 'north' = better from northern latitudes
|
||||
// 'south' = better from southern latitudes
|
||||
// 'path:...' = specific eclipse path note
|
||||
// ════════════════════════════════════════════════════════════════════════
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
export const ALMANAC_CALENDAR = [
|
||||
// 2026 events (covers rest of year from today)
|
||||
@@ -133,7 +133,7 @@ export const ALMANAC_CALENDAR = [
|
||||
type: 'meteor',
|
||||
},
|
||||
|
||||
// ── 2027 ─────────────────────────────────────────────────────────────
|
||||
// -- 2027 -------------------------------------------------------------
|
||||
{
|
||||
id: 'quadrantids-2027',
|
||||
emoji: '☄️',
|
||||
@@ -276,8 +276,8 @@ export function getVisibilityNote(entry, lat) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// ─── MAIN ALMANAC EXPORT ─────────────────────────────────────────────────
|
||||
// Returns events with peak dates in the next `days` days (default 90),
|
||||
// --- MAIN ALMANAC EXPORT -------------------------------------------------
|
||||
// Returns events with peak dates in the next 'days' days (default 90),
|
||||
// sorted by peak date, with a visibility note added.
|
||||
export function getUpcomingEvents(location, days = 90) {
|
||||
const today = new Date();
|
||||
|
||||
Reference in New Issue
Block a user