This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/scripts/variables.js

10 lines
343 B
JavaScript
Raw Normal View History

2019-08-16 12:05:56 +02:00
/* LES VARIABLES */
2019-08-18 20:06:06 +02:00
/* Messages d'erreur */
const emptyMessageError = "Vous ne pouvez pas rentré de valeur vide.";
2019-08-16 12:05:56 +02:00
const messageError = "Vous n'avez pas rentré de valeur valide.";
2019-08-18 20:06:06 +02:00
/* Varibales pour les fonctions */
2019-08-16 12:05:56 +02:00
let timeNow = new Date();
let utcOffset = timeNow.getTimezoneOffset();
2019-08-18 20:06:06 +02:00
timeNow.setMinutes(timeNow.getMinutes() + utcOffset);