0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-28 11:03:00 +00:00
nextcloud_server/__tests__/setup-global.js
Ferdinand Thiessen c7014a7cc4
fix(files_trashbin): correctly sort custom columns in trashbin view
1. Refactor to make code better testable (move columns and view source to `files_views` folder)
2. Fix deletion time fallback (JS Date vs unix timestamp for
   "delted"-column)
3. Correctly sort `deletedBy` and `originalLocation` columns to use
   natural sort like any other column
4. Add unit tests for columns and views

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 15:05:44 +01:00

7 lines
170 B
JavaScript

/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: CC0-1.0
*/
export function setup() {
process.env.TZ = 'UTC'
}