Skip to content

Commit

Permalink
fix: moment locale (#2952)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShlomoCode committed Jan 30, 2024
1 parent 0a05f8c commit 883383a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/files/ListingItem.vue
Expand Up @@ -38,7 +38,7 @@
import { enableThumbs } from "@/utils/constants";
import { mapMutations, mapGetters, mapState } from "vuex";
import { filesize } from "@/utils";
import moment from "moment";
import moment from "moment/min/moment-with-locales";
import { files as api } from "@/api";
import * as upload from "@/utils/upload";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/prompts/Info.vue
Expand Up @@ -89,7 +89,7 @@
<script>
import { mapState, mapGetters } from "vuex";
import { filesize } from "@/utils";
import moment from "moment";
import moment from "moment/min/moment-with-locales";
import { files as api } from "@/api";
export default {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/prompts/Share.vue
Expand Up @@ -128,7 +128,7 @@
<script>
import { mapState, mapGetters } from "vuex";
import { share as api, pub as pub_api } from "@/api";
import moment from "moment";
import moment from "moment/min/moment-with-locales";
import Clipboard from "clipboard";
export default {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/mutations.js
@@ -1,5 +1,5 @@
import * as i18n from "@/i18n";
import moment from "moment";
import moment from "moment/min/moment-with-locales";

const mutations = {
closeHovers: (state) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/Share.vue
Expand Up @@ -183,7 +183,7 @@
import { mapState, mapMutations, mapGetters } from "vuex";
import { pub as api } from "@/api";
import { filesize } from "@/utils";
import moment from "moment";
import moment from "moment/min/moment-with-locales";
import HeaderBar from "@/components/header/HeaderBar.vue";
import Action from "@/components/header/Action.vue";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/settings/Shares.vue
Expand Up @@ -63,7 +63,7 @@
<script>
import { share as api, users } from "@/api";
import { mapState, mapMutations } from "vuex";
import moment from "moment";
import moment from "moment/min/moment-with-locales";
import Clipboard from "clipboard";
import Errors from "@/views/Errors.vue";
Expand Down

0 comments on commit 883383a

Please sign in to comment.