Project

General

Profile

Actions

Bug #4465

closed

$ctime doesn't return any value if we provide the time part

Added by Leonel Faria about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
01/28/2019
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

$ctime doesn't return any value if we provide the time part

To reproduce:
//echo -ag $ctime($date 16:00)
  • /echo: insufficient parameters
    //echo -ag $ctime(28/01/2018 07:00:00)
  • /echo: insufficient parameters

This make impossible to calculate the duration between two given times for example $duration($calc($ctime($date 16:00) - $ctime($date)))

Actions

Also available in: Atom PDF