@da to -> iso8601 in sail (move this to js)

This commit is contained in:
Anthony 2018-02-15 12:47:35 -08:00
parent 4d4349baff
commit 41d06b8edc

View File

@ -17,6 +17,36 @@
/collections-topic-full/
==
=/ config (~(get by configs) +<:s.bem.gas)
=, old-zuse
|%
++ esoo
|= d/@d
^- tape
=/ t (yore d)
;: welp
(scag 1 (scow %ud y.t))
(swag [2 3] (scow %ud y.t))
"-"
(double m.t)
"-"
(double d.t.t)
"T"
(double h.t.t)
":"
(double m.t.t)
":"
(double s.t.t)
"Z"
==
:: ud to leading zero tape
++ double
|= a/@ud
^- tape
=/ x (scow %ud a)
?: (lth a 10)
(welp "0" x)
x
--
^- manx
;div
;div.row.coll-title
@ -44,21 +74,30 @@
;* ?: comm:(need config)
;=
;div.coms
;h3: Comments
;* %+ turn
~(tap by coms.b.extratopic)
|= [c=@da d=[mod=@da who=@p wat=wain]]
;div.com.ml-12.mb-6
;div.who
;a(href "")
{(trip (scot %p who.d))}
;h3: Comments
;ol
;* %+ turn
%+ sort
~(tap by coms.b.extratopic)
|= [a=[c=@da d=[mod=@da who=@p wat=wain]] b=[c=@da d=[mod=@da who=@p wat=wain]]]
(lth (unt c.a) (unt c.b))
::
|= [c=@da d=[mod=@da who=@p wat=wain]]
;li
;div.da.text-mono.ml-12(data-urb-elapsed "{(esoo mod.d)}");
;div.com.ml-12.mb-6
;div.who.text-mono
;a(href "")
{(trip (scot %p who.d))}
==
==
;div.com-body
; {(trip (of-wain:format wat.d))}
==
==
==
==
;div.com-body
; {(trip (of-wain:format wat.d))}
==
==
;div.ml-12(data-component "CommentCreate", data-coll "{(trip +<:s.bem.gas)}", data-top "{(trip -:s.bem.gas)}");
==
;div.ml-12(data-component "CommentCreate", data-coll "{(trip +<:s.bem.gas)}", data-top "{(trip -:s.bem.gas)}");
==
==
~