Ticket #41879

Use os.time() in database.lua

Date d'ouverture: 2021-03-30 19:21 Dernière mise à jour: 2021-04-06 21:19

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

Comment in database.lua:

-- DIRTY: return a string to put in a database query which gets the -- current time (in seconds since the epoch, UTC). -- (This should be replaced with Lua os.time() once the script has access -- to this, see <https://www.hostedredmine.com/issues/657141>.)

This is possible in S3_0 and later.

Ticket History (3/4 Histories)

2021-03-30 19:21 Updated by: cazfi
  • New Ticket "Use os.time() in database.lua" created
2021-03-30 22:20 Updated by: cazfi
  • Résolution Update from Aucun to Accepted
2021-04-06 21:19 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Accepted to Fixed

Attachment File List

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion