[asterisk-bugs] [JIRA] (ASTERISK-27546) 'Q' and 'q' in English time formats only check the past

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jan 4 10:24:39 CST 2018


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

Asterisk Team commented on ASTERISK-27546:
------------------------------------------

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].

> 'Q' and 'q' in English time formats only check the past
> -------------------------------------------------------
>
>                 Key: ASTERISK-27546
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27546
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Internationalization
>    Affects Versions: GIT
>         Environment: Tested in Git branch 13. Code appears to be the same in git master.
>            Reporter: Tzafrir Cohen
>            Severity: Minor
>
> {code}
> time=$( $((`date +%s` + 60*60*24)) )  # This time tomorrow
> asterisk -rx "channel original Local/500 at test application SayUnixTime $time,UTC,Qq"
> This should say the time tomorrow, twice. In practice we get just a single 'today'.
> It seems that main/say.c:ast_say_date_with_format_en()  check only for time in the present and the past, and anything that is in the future is considered "today".
> It seems that other languages have similar but worse code (looked at de, fr and he).



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



More information about the asterisk-bugs mailing list