[asterisk-bugs] [JIRA] (ASTERISK-26001) Asterisk ignores dateformat setting in cel.conf and default behaviour wrong

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri May 6 13:05:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230512#comment-230512 ] 

Asterisk Team commented on ASTERISK-26001:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Asterisk ignores dateformat setting in cel.conf and default behaviour wrong
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-26001
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26001
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.8.2
>         Environment: Centos Linux
>            Reporter: Richard Wilkinson
>            Severity: Minor
>
> Asterisk ignores the dateformat configuration parameter in cel.conf when using ODBC with MySQL.  This may be apparant with other DB backends but I don't have means to test those.
> Asterisk is pushing the date string to to the database incorrectly.  I have ruled out MySQL reformatting the unix timestamp.
> Documentation states omitting the parameter defaults it to seconds.microseconds.
> Whatever the value is specified, the format actually used is yyyy-mm-dd hh:mm:ss.microseconds.
> Here are some examples:-
> Parameter:  Omitted
> Date Generated:  2016-05-06 18:58:21.416305
> Parameter: dateformat = %s
> Date Generated:  2016-05-06 18:58:21.416305
> Parameter: dateformat = "%F %T"
> Date Generated:  2016-05-06 18:58:21.416305
> It is completely ignoring what dateformat is set to.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list