2017 © Pedro Peláez
 

library date-guesser

Data Guesser (Standard (non-US) format only)

image

bespoke-support/date-guesser

Data Guesser (Standard (non-US) format only)

  • Monday, March 13, 2017
  • by Richard Seymour
  • Repository
  • 1 Watchers
  • 0 Stars
  • 418 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 24 % Grown

The README.md

Guess the format of a date string for Carbon

Allows the creation of a Carbon object when you are unsure of the format presented, (*1)

$time = '2017-12-31';
// Carbon object
$carbonObj = DateGuesser::create($time);

Allow new formats

DateGuesser::$attemptFormatsAdditional[] = 'd-m-y H:i';
// e.g. 31-12-17 23:59

The Versions

13/03 2017

dev-master

9999999-dev

Data Guesser (Standard (non-US) format only)

  Sources   Download

MIT

The Requires

 

13/03 2017

dev-analysis-86LZ4l

dev-analysis-86LZ4l

Data Guesser (Standard (non-US) format only)

  Sources   Download

MIT

The Requires

 

27/02 2017

1.0.1

1.0.1.0

Data Guesser (Standard (non-US) format only)

  Sources   Download

MIT

The Requires

 

24/02 2017

1

1.0.0.0

Data Guesser (Standard (non-US) format only)

  Sources   Download

MIT

The Requires