Ticket #41879

Use os.time() in database.lua

Open Date: 2021-03-30 19:21 Last Update: 2021-04-06 21:19

Reporter:
Owner:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

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
  • Resolution Update from None to Accepted
2021-04-06 21:19 Updated by: cazfi
  • Status Update from Open to Closed
  • Owner Update from (None) to cazfi
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

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