/
snap
/
lxd
/
current
/
share
/
lxd-ui
/
assets
/
File Upload :
llllll
Current File: //snap/lxd/current/share/lxd-ui/assets/snapshots-AS6hXv2C.js
import{c5 as i}from"./index-dL2n30-Z.js";const o=(t,e)=>`${t}T${e}`,u=()=>["valid","Invalid date format",(t,e)=>t?new Date(t).toString()!=="Invalid Date":!e.parent.expirationTime],d=()=>["future","The date must be in the future",t=>{if(!t)return!0;const e=new Date(t).getTime(),r=new Date(i()).getTime();return e>=r}],f=()=>["valid","Invalid time format",(t,e)=>{if(!t)return!e.parent.expirationDate;const[r,s]=t.split(":"),n=new Date;return n.setHours(+r),n.setMinutes(+s),n.toString()!=="Invalid Date"}],c=t=>t?t.config.restricted==="true"&&(!t.config["restricted.snapshots"]||t.config["restricted.snapshots"]==="block"):!1;export{u as a,d as b,o as g,c as i,f as t};
Copyright ©2k19 -
Hexid
|
Tex7ure