Thomas Lynch
a102beed5e
ref #430 use date format from locale in views
2 years ago
Thomas Lynch
00f6d3fdb0
convert relative times to support localisation
2 years ago
Thomas Lynch
5c43ecab98
eslint gulp/res/js/
...
update .eslintrc.json
update gitignore
rm --cached some newly .gitignore'd files, which were just pug compiledclient output files
2 years ago
Thomas Lynch
ddd5b29dda
hide/toggle "x posts omiited" text when expanded
...
return to correct number of preview posts e.g. if post has less/no preview replies
2 years ago
Thomas Lynch
9ae1b79052
Fix/improve showing new modal bans, now handled by time.js to show "relative time" or other time settings.
...
Uses a new 'showModal' customEvent that can probably be used for other things down the line.
ref #445
2 years ago
some random guy
74e27aa22c
24 hour fixes
...
`hour12` overrides `hourCycle` and in case of chome, `en-US` locale and `hour12
= true` defaults to h24, which results in batshit crazy timestamps of `24:04:23`
and the like. Removing `hour12` fixes this issue. But Pale Moon apparently
doesn't support `hourCycle`, so use a hack instead that seems to work both in
Pale Moon and chrome.
Also fix the pug files, because it looks like node has the same problem, even
with `undefined` locale (no need for workarounds here).
4 years ago
Thomas Lynch
a113df99cf
Consolidate default localstorage settings to single file for ease of modifying
4 years ago
fatchan
fa8faae06c
bugfix relative time after previous patch to fix for edit dates
4 years ago
fatchan
7637b1a6b6
bugfix edited time not using relative time for hovered posts from different page
4 years ago
fatchan
5be8431d24
supporting stuff for modals, scripts, and urlencoded handling in forms.js
5 years ago
fatchan
db1982ac31
minor bigfix to 24h time mode
5 years ago
fatchan
c3a3ca2314
minor script fixes
5 years ago
fatchan
fd9b1c8cf9
relative time default on
5 years ago
fatchan
a36030e8c6
timezone, not locale*
5 years ago
fatchan
68bd674fe5
min and max length to boards, and make it handled properly in posting, frontend js message coutner, etc
5 years ago
fatchan
8522fb85be
disable file upload debug, fix some more script bugs
5 years ago
fatchan
82e2d11b2f
relative time handle in-future cates for example dates in ban pages so tey say x time 'from now'
5 years ago
fatchan
d6a1a1330b
numerous script improvements
5 years ago
fatchan
2c81037cb3
various minor changes and improve forms script for future use
5 years ago
fatchan
adcfdabccc
make relative time apply to more stuff like news and reports references #57
5 years ago
fatchan
d67d027df5
fix time units e.g. 7 days shouod be 1 eeekx
5 years ago
fatchan
1eea6ec842
round instead of floor to make times more accurate
5 years ago
fatchan
c71f60fdf4
relative time, toggle without refresh and make local not optional references #57
5 years ago
fatchan
c45baea1a4
make 24h time option
5 years ago
fatchan
c073622eb6
local time, change some scripts names and orders, modal, footer, and udpate deps
5 years ago