mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
5.4.0 Release Bug Fixes (#2789)
* fix: addresses CORL-848 Fixed copy for new commenters feature. * fix: address CORL-847 Revert the line hight changes on select fields for now. * fix: addressed CORL-851 Changed copy on CSS field. * fix: addressed CORL-840 Changed deletion window to 24 hours. Refactored durations to use TIME enum.
This commit is contained in:
@@ -23,13 +23,9 @@ export function getCommentEditableUntilDate(
|
||||
tenant: Pick<Tenant, "editCommentWindowLength">,
|
||||
createdAt: Date
|
||||
): Date {
|
||||
return (
|
||||
DateTime.fromJSDate(createdAt)
|
||||
// editCommentWindowLength is in seconds, so multiply by 1000 to get
|
||||
// milliseconds.
|
||||
.plus(tenant.editCommentWindowLength * 1000)
|
||||
.toJSDate()
|
||||
);
|
||||
return DateTime.fromJSDate(createdAt)
|
||||
.plus({ seconds: tenant.editCommentWindowLength })
|
||||
.toJSDate();
|
||||
}
|
||||
|
||||
export async function addTag(
|
||||
|
||||
Reference in New Issue
Block a user