<template>
  <div class="ht-base-time-different-demo">
    <ht-base-time :time="time2" />
    <br />
    <ht-base-time :time="time2" type="date" />
    <br />
    <ht-base-time :time="time2" type="datetime" />
  </div>
</template>

<script>
export default {
  name: "HtBaseTimeDifferentDemo",
  data() {
    return {
      time2: new Date().getTime() - 86400 * 3 * 1000,
    };
  },
};
</script>
<style lang="less">
.ht-base-time-different-demo {
}
</style>

