2017 © Pedro Peláez
 

library swedish-dates-bundle

Symfony2 bundle for jgi/swedish-dates

image

jgi/swedish-dates-bundle

Symfony2 bundle for jgi/swedish-dates

  • Monday, April 17, 2017
  • by jongotlin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SwedishDatesBundle

Installation

Install with composer, (*1)

$ composer require jgi/swedish-dates-bundle

Add the bundle to your AppKernel., (*2)

new JGI\SwedishDatesBundle\JGISwedishDatesBundle(),

Usage

$date = $container->get('jgi.swedish_dates.datemanager')->getDate(new \Datetime('2014-12-25'));
echo $date->getDateTime()->format('Y-m-d') . ": " .
    ($date->isRedDay() ? 'red day' : 'not red day') . ' - ' . $date->getName();
// 2014-12-25: red day - Juldagen

License

Bundle under the MIT License, (*3)

The Versions

17/04 2017

dev-master

9999999-dev

Symfony2 bundle for jgi/swedish-dates

  Sources   Download

MIT

The Requires

 

date sweden

17/04 2017

1.0.2

1.0.2.0

Symfony2 bundle for jgi/swedish-dates

  Sources   Download

MIT

The Requires

 

date sweden

24/03 2016

1.0.1

1.0.1.0

Symfony2 bundle for jgi/swedish-dates

  Sources   Download

MIT

The Requires

 

date sweden

18/04 2014

1.0.0

1.0.0.0

Symfony2 bundle for jgi/swedish-dates

  Sources   Download

MIT

The Requires

 

date sweden