Skip to content

Commit 6bf5772

Browse files
committed
fix: update nostrcalendar code examples to use new import name
The nostrcalendar package renamed its import from `nostrcal` to `nostrcalendar` in v0.2.0. Update the two code examples on the /openclaw page to match.
1 parent 1ddf819 commit 6bf5772

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/openclaw.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ <h2>Quick Start</h2>
857857
<button class="copy-btn" onclick="copyCode('code-nc-quickstart')">Copy</button>
858858
<span class="kw">import</span> asyncio
859859
<span class="kw">from</span> nostrkey <span class="kw">import</span> Identity
860-
<span class="kw">from</span> nostrcal <span class="kw">import</span> (
860+
<span class="kw">from</span> nostrcalendar <span class="kw">import</span> (
861861
AvailabilityRule, DayOfWeek, TimeSlot,
862862
publish_availability, get_free_slots,
863863
)
@@ -911,7 +911,7 @@ <h2>Agent-to-Agent Negotiation</h2>
911911
<p class="subtitle">Two agents find mutual free time and book a meeting without human involvement.</p>
912912
<div class="code-block" id="code-nc-negotiate">
913913
<button class="copy-btn" onclick="copyCode('code-nc-negotiate')">Copy</button>
914-
<span class="kw">from</span> nostrcal <span class="kw">import</span> find_mutual_availability, propose_times
914+
<span class="kw">from</span> nostrcalendar <span class="kw">import</span> find_mutual_availability, propose_times
915915
<span class="kw">from</span> datetime <span class="kw">import</span> datetime
916916

917917
<span class="comment"># Find overlapping free slots across multiple days</span>

0 commit comments

Comments
 (0)