Skip to content
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

Create more tests for the date rule using custom date formats #20

Open
marcelsud opened this issue Jan 4, 2015 · 0 comments
Open

Create more tests for the date rule using custom date formats #20

marcelsud opened this issue Jan 4, 2015 · 0 comments

Comments

@marcelsud
Copy link
Contributor

The default date formats are already covered by the tests:

  • ATOM: "Y-m-d\TH:i:sP"
  • COOKIE: "l, d-M-Y H:i:s T"
  • ISO8601: "Y-m-d\TH:i:sO"
  • RFC822: "D, d M y H:i:s O"
  • RFC850: "l, d-M-y H:i:s T"
  • RFC1036: "D, d M y H:i:s O"
  • RFC1123: "D, d M Y H:i:s O"
  • RFC2822: "D, d M Y H:i:s O"
  • RFC3339: "Y-m-d\TH:i:sP"
  • RSS: "D, d M Y H:i:s O"
  • W3C: "Y-m-d\TH:i:sP"

But what about custom formats?

  • "Ymd" -> "20150101"
  • "YmdHis" -> "20150101123000"
  • ...

Let's use some of them to improve the tests.

@marcelsud marcelsud added this to the v1.2.0 milestone Jan 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant