feat(hololake): bind direct-language V1 baseline
This commit is contained in:
parent
e88805cf91
commit
3df6b1d3ca
14 changed files with 809 additions and 23 deletions
|
|
@ -17,6 +17,7 @@ import {
|
|||
jumpToHeading,
|
||||
splitFrontmatter,
|
||||
} from "./modules/knowledge-render";
|
||||
import { formatHoloLakeTime } from "./time";
|
||||
|
||||
type View =
|
||||
| "channel"
|
||||
|
|
@ -389,11 +390,7 @@ function ReceiptStream({ data }: { data: SystemSnapshot }) {
|
|||
<strong>{e.title}</strong>
|
||||
<p>{e.content}</p>
|
||||
<time>
|
||||
{new Date(e.occurredAt).toLocaleTimeString("zh-CN", {
|
||||
hour: "2-digit",
|
||||
minute: "2-digit",
|
||||
second: "2-digit",
|
||||
})}
|
||||
{formatHoloLakeTime(e.occurredAt)}
|
||||
</time>
|
||||
</div>
|
||||
))
|
||||
|
|
@ -885,7 +882,7 @@ function History({ data }: { data: SystemSnapshot }) {
|
|||
<section className="timeline-list">
|
||||
{data.timeline.map((e) => (
|
||||
<article key={e.eventId}>
|
||||
<time>{new Date(e.occurredAt).toLocaleString("zh-CN")}</time>
|
||||
<time>{formatHoloLakeTime(e.occurredAt, true)}</time>
|
||||
<div>
|
||||
<strong>
|
||||
{labels[e.sourceKind]} · {e.title}
|
||||
|
|
|
|||
Loading…
Reference in a new issue