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

Why? #1

Closed
leolara opened this Issue Nov 2, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@leolara
Copy link

leolara commented Nov 2, 2018

No description provided.

@helmerdavila

This comment has been minimized.

Copy link

helmerdavila commented Nov 5, 2018

Why not?

@rkl-

This comment has been minimized.

Copy link

rkl- commented Nov 12, 2018

As aked me why too :D. However, if you would implement strtotime full like in PHP with relative time formats, this would be really nice!

@syyongx

This comment has been minimized.

Copy link
Owner

syyongx commented Nov 14, 2018

For phper, they are used to the convenience of php packaged functions, there are a lot of awkwardness when trying to develop a project. This project can be used as a reference to help them get started quickly. On the other hand, these good general-purpose functions such as version_compare/addslashes/number_format can also be used directly in the golang project.

@syyongx

This comment has been minimized.

Copy link
Owner

syyongx commented Nov 14, 2018

As aked me why too :D. However, if you would implement strtotime full like in PHP with relative time formats, this would be really nice!

I have a plan to implement this function, but there is no specific time.

@rkl-

This comment has been minimized.

Copy link

rkl- commented Nov 14, 2018

As aked me why too :D. However, if you would implement strtotime full like in PHP with relative time formats, this would be really nice!

I have a plan to implement this function, but there is no specific time.

Thats nice. However, you can use the original php implementation written in C. The date_parser for example is a PHP extension. You can compile it as shared library and use the function timelib_strtotime from Go. A nice wrapper for all the stuff and well done ;).

@syyongx syyongx closed this Nov 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment