use hooks for datetime, remove alpinejs

This commit is contained in:
2023-03-18 21:45:20 -04:00
parent 0d4deb6805
commit 5dedb4668b
9 changed files with 37 additions and 74 deletions

View File

@ -89,7 +89,7 @@ defmodule MemexWeb.CoreComponents do
@doc """
Phoenix.Component for a <time> element that renders the naivedatetime in the
user's local timezone with Alpine.js
user's local timezone
"""
def datetime(assigns)
@ -105,7 +105,7 @@ defmodule MemexWeb.CoreComponents do
@doc """
Phoenix.Component for a <date> element that renders the Date in the user's
local timezone with Alpine.js
local timezone
"""
def date(assigns)