# std.crypto.Certificate: consistent param types for parseTimeDigits · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/df5f6836c474a689469e01554997bbf3108e2cb9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: df5f6836c474a689469e01554997bbf3108e2cb9

Requested commit: df5f6836c474a689469e01554997bbf3108e2cb9

Commit: df5f6836c474a689469e01554997bbf3108e2cb9

Tree: f871616f78ff722dbea34e0c7c1345a72c75911c

Author: Luis Cáceres

Committer: Luis Cáceres

## Message

```
std.crypto.Certificate: consistent param types for parseTimeDigits

This commit changes the type of the first parameter of parseTimeDigits
to *const [2]u8 for consistency with parseYear4 which uses *const [4]u8
as its first parameter. This is also more ergonomic for the caller since
they don't need to dereference the array.

```

## Parents

- [05bad1f42d06ab77967ce14ac47253f5dd6d170e](https://git.cafe/gitcafe/zig/commit/05bad1f42d06ab77967ce14ac47253f5dd6d170e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/df5f6836c474a689469e01554997bbf3108e2cb9?format=markdown)
