summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts
diff options
context:
space:
mode:
authorgutfuckllc <40531868+gutfuckllc@users.noreply.github.com>2018-08-06 15:45:52 -0400
committergutfuckllc <40531868+gutfuckllc@users.noreply.github.com>2018-08-06 15:45:52 -0400
commita256393b81f2fda62641961ce515a85c8b9f51c3 (patch)
tree9a205811a11b675b853aca3e463152a0d816ff69 /src/client/app/common/scripts
parentTranslated mute. (diff)
parent5.19.0 (diff)
downloadsharkey-a256393b81f2fda62641961ce515a85c8b9f51c3.tar.gz
sharkey-a256393b81f2fda62641961ce515a85c8b9f51c3.tar.bz2
sharkey-a256393b81f2fda62641961ce515a85c8b9f51c3.zip
Merge remote-tracking branch 'upstream/master' into devel
Diffstat (limited to 'src/client/app/common/scripts')
-rw-r--r--src/client/app/common/scripts/date-stringify.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/client/app/common/scripts/date-stringify.ts b/src/client/app/common/scripts/date-stringify.ts
deleted file mode 100644
index 2b8e525567..0000000000
--- a/src/client/app/common/scripts/date-stringify.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export default date => {
- if (typeof date == 'string') date = new Date(date);
- return (
- date.getFullYear() + '%i18n:common.date.full-year%' +
- (date.getMonth() + 1) + '%i18n:common.date.month%' +
- date.getDate() + '%i18n:common.date.day%' +
- ' ' +
- date.getHours() + '%i18n:common.date.hours%' +
- date.getMinutes() + '%i18n:common.date.minutes%' +
- ' ' +
- `(${['日', '月', '火', '水', '木', '金', '土'][date.getDay()]})`
- );
-};