Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

improve datetime regexps #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

glensc
Copy link

@glensc glensc commented Sep 21, 2012

based on discussion from here:
c00f622#commitcomment-1887500

it seemed strtotime() does not support microseconds, so i left that out

also your file encoding was MSDOS based, and weird file execute bits on files. you might want to fixup that. did not want to do it in my commit, as that would make whole diff unreadable

also for the sake of testing, i made one method protected instead of private, and i noticed some other methods access is not defined at all (indeed that defaults to "public") would be nice to clean those up as well.

so included phpunit test for the date thing only

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant