Skip to content
Merged
4 changes: 2 additions & 2 deletions bin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ consola.log("# Hyyypertool 🚀", new Date());
consola.log(Array.from({ length: 42 }).fill("=").join(""));
consola.log("");

const { ALLOWED_USERS, NODE_ENV, DEPLOY_ENV, VERSION, GIT_SHA } = config;
const { ALLOWED_USERS, NODE_ENV, DEPLOY_ENV, VERSION, GIT_SHA, TZ } = config;
consola.log("");
consola.log("");
consola.log("┌─── ENV");
if (consola.level >= LogLevels.log) {
console.table({ NODE_ENV, DEPLOY_ENV, VERSION, GIT_SHA });
console.table({ NODE_ENV, DEPLOY_ENV, VERSION, GIT_SHA, TZ });
}

consola.log("");
Expand Down
4 changes: 3 additions & 1 deletion e2e/features/moderations/manage_internal_domain.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Fonctionnalité: Gérer un domaine interne lors de la modération
Quand je clique sur "Ajouter un domain"
Et je tape "poymail.com{enter}"

# TODO(douglasduteil): We should update the title when adding a domain
Et je vois "poymail.com"
Alors je dois voir un tableau nommé "🌐 1 domaine connu dans l’organisation" et contenant
| Domain | Status |
| poymail.com| ✅ |
| poymail.com | ✅ |
1 change: 1 addition & 0 deletions sources/app/core/src/config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const app_env = z.object({
.default("development"),
PORT: z.coerce.number().default(3000),
SENTRY_DNS: z.string().trim().url().optional(),
TZ: z.string().trim().optional(),
VERSION: z.string().default(
match(
DEPLOY_ENV_SHEMA.optional().parse(env["DEPLOY_ENV"], {
Expand Down
1 change: 0 additions & 1 deletion sources/app/ui/src/time/LocalTime.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { LocalTime } from "./LocalTime";
//

test("LocalTime > 1970", () => {
process.env.TZ = "Europe/Paris";
expect((<LocalTime date={new Date(0)} />).toString()).toBe(
(
<time
Expand Down