File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 11<script >
22 import { END_DATE } from " $lib/defs" ;
3- import relativeDate from " tiny-relative-date" ;
43 </script >
54
65<div
98 {#if END_DATE > new Date ()}
109 <h2 class =" text-xl font-bold text-primary-400" >It's almost the end!</h2 >
1110 <p >
12- Construct will be ending <abbr
13- title ={` ${END_DATE .toLocaleDateString ()} ${END_DATE .toLocaleTimeString ()} ` }
14- class =" font-bold"
15- >
16- {relativeDate (END_DATE )}
17- </abbr >, at 00:00 EST on April 20th ({END_DATE .toLocaleDateString ()}
11+ Construct will be ending at 00:00 EST on April 20th ({END_DATE .toLocaleDateString ()}
1812 {END_DATE .toLocaleTimeString ()} in your timezone)
1913 </p >
2014 <p >
2519 {:else }
2620 <h2 class =" text-xl font-bold text-primary-400" >Construct has ended!</h2 >
2721 <p >
28- Construct has ended <abbr
29- title ={` ${END_DATE .toLocaleDateString ()} ${END_DATE .toLocaleTimeString ()} ` }
30- >
31- {relativeDate (END_DATE )}
32- </abbr >.
22+ Construct has ended.
3323 </p >
3424 <p >
3525 The market is still open and you can still re-ship rejected projects, however you can't ship
You can’t perform that action at this time.
0 commit comments