You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/03/29 20:03:00 UTC

[jira] [Commented] (ARROW-16066) [C++] Function to return the number of seconds in a year

    [ https://issues.apache.org/jira/browse/ARROW-16066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514311#comment-17514311 ] 

Antoine Pitrou commented on ARROW-16066:
----------------------------------------

AFAIU, Unix-like timestamps don't have leap seconds, so it all comes down to number of days per year :-)

> [C++] Function to return the number of seconds in a year 
> ---------------------------------------------------------
>
>                 Key: ARROW-16066
>                 URL: https://issues.apache.org/jira/browse/ARROW-16066
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Dragoș Moldovan-Grünfeld
>            Priority: Major
>
> Could we/ should we have such a function? It would make some calculations easier and more consistent + it would help deal with some edge cases (such a leap seconds).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)