Ticket #1270 (closed RFC: fixed)
decodetime and decodelocaltime return Array
Reported by: | whiteknight | Owned by: | whiteknight |
---|---|---|---|
Priority: | normal | Milestone: | 2.1 |
Component: | core | Version: | 1.7.0 |
Severity: | medium | Keywords: | time ops |
Cc: | Language: | ||
Patch status: | Platform: |
Description
the decodetime and decodelocaltime ops return an Array PMC, not a FixedIntegerArray or even a ResizableIntegerArray like somebody might expect. Since these two ops always return an array with a fixed size (9 items) and those items are always integers, I think returning a FixedIntegerArray would be better in this case.
I would like to deprecate this feature and fix it after 2.0. Any objections?
Change History
Note: See
TracTickets for help on using
tickets.