Skip to content

Introduce more modern way of for parsing date/time/timestamp formats #98

@mlazdans

Description

@mlazdans

Currently parsing ibase.timestampformat, ibase.dateformat, ibase.timeformat uses strptime(). It is deprecated by PHP, is not supported or does work differently on different platforms and missing features like fractions and proper time zone support. In case this function is not available, extension falls back to parsing of arbitrary format "%d%*[/]%d%*[/]%d %d%*[:]%d%*[:]%d" which is not documented.

Introduce fbrid.timestampformat, fbird.dateformat, fbird.timeformat and parse it with PHP date parsing facilities.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions