Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix isotime_add and add zero padding for isotime (backport #919) #920

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 2, 2021

This is an automatic backport of pull request #919 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting

(cherry picked from commit e7f4daf)
@mergify mergify bot requested a review from a team as a code owner November 2, 2021 06:29
@y0urself y0urself enabled auto-merge (squash) November 2, 2021 06:31
@y0urself y0urself merged commit 9515c0d into stable Nov 2, 2021
@y0urself y0urself deleted the mergify/bp/stable/pr-919 branch November 2, 2021 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants