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

getDayNames: normalize labels #176

Open
wants to merge 161 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
a806af1
add $convertNumbersToPersian to jDate::format().
morilog Oct 29, 2014
8cb3ded
Update jDate.php
morilog Oct 29, 2014
6549996
change namespaces
Nov 22, 2014
728ada0
fix bugs
Nov 22, 2014
63b8705
Delete composer.json~
morilog Nov 22, 2014
6e04a4c
Update README.md
morilog Nov 22, 2014
efdd75c
Update README.md
morilog Nov 22, 2014
f9f9055
add parseFromFormat method
Dec 1, 2014
f5da2fc
add parseFromFormat example to README.md
Dec 1, 2014
b778e17
fix readme.md
Dec 15, 2014
2074251
now available for Laravel 5
Jun 10, 2015
545d949
write tests
Jun 10, 2015
d669fd1
Update README.md
morilog Jun 10, 2015
919119b
carbonFromFormat
mahdiraad Jun 21, 2015
60caad1
Update README.md
morilog Jul 9, 2015
0a8c383
Update and rename Jdate.php to jDate.php
morilog Jul 9, 2015
908bfe7
Update and rename jDate.php to JDate.php
morilog Jul 9, 2015
706c17b
Update JDateTime.php
morilog Jul 9, 2015
904c35f
Update and rename JDate.php to jDate.php
morilog Jul 9, 2015
70734a3
Update and rename JDateTime.php to jDateTime.php
morilog Jul 9, 2015
17a0fa8
Update README.md
morilog Jul 9, 2015
359a94c
fix alias
morilog Jul 9, 2015
94e8302
Merge branch 'master' of github.com:morilog/jalali
mahdiraad Jul 12, 2015
5254ead
dateTimeFromFormat
mahdiraad Jul 12, 2015
3ab40c7
Merge pull request #2 from mahdiraad/master
morilog Jul 12, 2015
0548671
PSR-2 Code Style
Jul 18, 2015
dd823b3
add phpdoc to methods
Jul 18, 2015
4a30685
Update .travis.yml
morilog Sep 20, 2015
5ea950c
Update README.md
morilog Sep 20, 2015
0bb82e4
Update .travis.yml
morilog Sep 20, 2015
94b95a4
Update composer.json
morilog Sep 20, 2015
350630a
Update composer.json
morilog Sep 20, 2015
743d8a9
Update README.md
morilog Sep 20, 2015
7614f82
Update README.md
morilog Sep 21, 2015
6a5ad71
Update README.md
morilog Sep 21, 2015
5444085
Update composer.json
morilog Oct 8, 2015
a1c2979
update license
morilog Feb 9, 2016
1a9918f
Add tests
Feb 14, 2016
4c544c1
Merge branch 'master' of github.com:morilog/jalali
Feb 14, 2016
6541c75
Merge branch 'master' of github.com:morilog/jalali into develop
Feb 14, 2016
75b0e14
Add helpers and new tests
Feb 14, 2016
b50b116
fix conflicts
Feb 14, 2016
585e060
Rewrite jDateTime and write tests
May 8, 2016
7f874b6
update documents
May 8, 2016
9cc980c
change امرداد to مرداد
Jun 4, 2016
fb40d89
improve tests
Jun 4, 2016
cb16c96
Fix TimeZones bug
Jun 22, 2016
9cafeaf
add time() method to jDate
Jun 24, 2016
3600634
fix README.md
amin3mej Dec 2, 2016
0e90d68
Merge pull request #15 from amin0256/master
morilog Dec 3, 2016
ccd3273
Add a new toGregorianDate method
meysammahfouzi Jun 29, 2017
bbe3194
Merge pull request #27 from meysammahfouzi/patch-2
morilog Jun 30, 2017
3fafcd6
Update jDateTime.php
morilog Jul 15, 2017
bc22d2b
Update jDateTime.php
cracki Aug 5, 2017
04442a9
Merge pull request #31 from cracki/master
morilog Aug 5, 2017
6618f2c
update composer.json
cracki Sep 6, 2017
ccf78aa
Update composer.json
cracki Sep 6, 2017
6a2a692
Merge pull request #33 from cracki/master
morilog Sep 6, 2017
7c169b1
Fix call to createCarbonFromFormat() method .
mehran-prs Mar 31, 2018
ef1e00e
Merge pull request #37 from mehran-prs/master
morilog Apr 3, 2018
5fd9e8e
fix document
amiriun Jul 2, 2018
fe0f6d0
Merge pull request #42 from amiriun/master
morilog Jul 2, 2018
b1f2535
add persian to latin to convertNumbers function
thg303 Aug 17, 2018
14d0088
Merge pull request #45 from thg303/add-persian-to-latin-to-convert
morilog Aug 18, 2018
9ea907e
Add new functionality
Sep 15, 2018
25fbcb7
Update documentation
Sep 15, 2018
d61a2be
Update travis
Sep 15, 2018
92fa66a
Update documentation
Sep 15, 2018
82a56db
Update composer
Sep 15, 2018
7d44405
Remove laravel dependencies
Sep 15, 2018
78bf49e
Update Documentations
Sep 15, 2018
7e45ece
Update Documentations
Sep 15, 2018
51b39a6
Update Documentations
Sep 15, 2018
ae17c92
Update minimum-stablity
Sep 16, 2018
ffb2f87
Update minimum-stablity
Sep 16, 2018
f7cfa52
Update php version
Sep 16, 2018
e248032
Update php version
Sep 16, 2018
dd0f80b
Fix issue #48 for subMonths method
Sep 23, 2018
8ed80ba
Fix issue #50 - addMonths method
Oct 21, 2018
c12ef53
Add new test for issue #66
Feb 18, 2019
27fa5dd
Add support for carbon version > 2
Feb 27, 2019
51e6069
Change min-stablity to dev
Feb 27, 2019
911a695
Document Updated
thearsalan Mar 15, 2019
0de754f
Merge pull request #70 from thearsalan/feature/update_document
morilog Mar 16, 2019
6656ede
Fix subMonths Method
dena-a Apr 7, 2019
0a90bfb
Modifiers Test Bug Fixed
dena-a Apr 8, 2019
fd397f5
Merge pull request #73 from dena-a/master
morilog Apr 9, 2019
8e8c5ab
Replace depricated class 'jDate' with new 'Jalalian' class
immeyti Apr 14, 2019
695eb6b
Merge pull request #74 from immeyti/master
morilog Apr 14, 2019
64fb5a2
fix number of days in last month of leap year
reza-akbari Dec 16, 2019
ae040b5
Merge pull request #93 from reza-akbari/master
Dec 16, 2019
dc5bfc1
Update .travis.yml
Feb 1, 2020
925caa8
Add tests for longer years
Nov 5, 2020
7c34345
Merge branch 'master' of github.com:morilog/jalali
Nov 5, 2020
7827123
Update .travis.yml
Nov 8, 2020
ccf28e1
Add PHP 8.0
mohsen-hsh74 Dec 1, 2020
7ea78b8
Merge pull request #114 from mohsen-hsh74/patch-1
Dec 1, 2020
32365ab
References and Examples on briannesbitt/carbon and morilog/jalali
i3130002 Mar 23, 2021
a0b40b7
week of month method added
thrashzone13 Apr 15, 2021
c909cbd
get week of month method tests added
thrashzone13 Apr 16, 2021
90e1b8e
Merge pull request #124 from thrashzone13/master
Apr 16, 2021
b33781a
Update CalendarUtils.php
shobeiry May 8, 2021
ba42b99
Merge pull request #128 from shobeiry/patch-1
May 8, 2021
6964556
Merge pull request #121 from i3130002/patch-1
May 8, 2021
abb8b1f
Added intval function to prevent php log error for converting float t…
rustinm Mar 4, 2022
5d80c09
Added php 8.1 and changed the name of the package.
rustinm Mar 4, 2022
aa5fd58
Merge pull request #139 from moree-dev/fix_php8.1_convert_to_int_issue
Mar 4, 2022
d5a7e99
Fix warning Implicit conversion from float to int loses in PHP 8.1
hasanmonfared Apr 5, 2022
f645ba0
add methos(getFirstDayOfWeek , getFirstDayOfMonth , getFirstDayOfYear)
amirfaramarzi Apr 10, 2022
bebd158
add tests(testGetFirstDayOfWeek , testGetFirstDayOfMonth , testGetFir…
amirfaramarzi Apr 12, 2022
98cb49b
fix getFirstDayOfWeek method
amirfaramarzi Apr 12, 2022
61e105d
fix jalalianTest.php
amirfaramarzi Apr 13, 2022
825f462
Merge pull request #144 from amirfaramarzi/master
Apr 14, 2022
c3245cf
Merge pull request #143 from hasanmonfared/master
Apr 14, 2022
4c8682b
Fix #145
aramhuseiny Apr 20, 2022
100d282
fix problem on base paramaeter
aramhuseiny Apr 20, 2022
3c4b68d
add unit tests
aramhuseiny Apr 20, 2022
57706ee
Merge pull request #146 from aramhuseiny/#145
Apr 26, 2022
d226bef
Correcting week days spelling using half-space (Nim-fasele)
mobinzk Apr 30, 2022
4543f35
Merge pull request #147 from mobinzk/fix/week-days
May 1, 2022
9e4730b
chore: update .gitignore
morilog Aug 7, 2022
a0e7925
fix(phpunit): remove syntaxCheck attribute from phpunit configuration
morilog Aug 7, 2022
1b0d8f0
test: add test case to proof the package support date conversion afte…
morilog Aug 7, 2022
6b96a60
feat: now months name could be configured globally
morilog Aug 7, 2022
6051d96
Merge pull request #149 from morilog/dev
morilog Aug 7, 2022
cd535d6
chore: add sponsership
morilog Aug 7, 2022
a5c5081
add ) to convertNumbers document
HassanHelfi Aug 11, 2022
d497946
Merge pull request #150 from HassanHelfi/master
morilog Aug 11, 2022
c759a6e
Create Converter.php
hos3ein Dec 12, 2022
186e05b
Add Converter trait
hos3ein Dec 12, 2022
1c17d84
Merge pull request #155 from hos3ein/patch-1
morilog Dec 14, 2022
5d3448e
remove duplicate line
DRSDavidSoft Dec 26, 2022
1c7379e
Merge pull request #156 from DRSDavidSoft/patch-1
morilog Dec 29, 2022
3dc44f7
Add 'subDay' method
majidalaeinia Jan 12, 2023
49f0238
Add 'getLastWeek' method
majidalaeinia Jan 12, 2023
d108327
Add 'addDay' method
majidalaeinia Jan 12, 2023
3929b10
Add 'getLastMonth' method
majidalaeinia Jan 12, 2023
3f7bde9
Add test for 'testAddDay', 'testSubDay', 'testGetLastWeek' and 'testG…
majidalaeinia Jan 12, 2023
6245e5c
Add new converter methods
hos3ein Mar 19, 2023
e4fb606
Remove return type hint
hos3ein Mar 20, 2023
c0e5ec8
Merge pull request #160 from hos3ein/master
morilog Mar 22, 2023
cd3f775
Use 'addDays(1)'
majidalaeinia Mar 22, 2023
ba41fa3
Use 'subDays(1)'
majidalaeinia Mar 22, 2023
1cefc64
Merge pull request #157 from majidalaeinia/master
morilog Mar 22, 2023
36bbd4d
[feat] add methods (getFirstDayOfQuarter, getEndDayOfWeek,getEndDayOf…
alissn Jan 4, 2024
fd4715a
[feat] add test for new methods
alissn Jan 4, 2024
1d48e38
[fix] bug fix of logic
alissn Jan 4, 2024
da7dd75
[feat] add github action
alissn Jan 5, 2024
bb061f9
[feat] update phpunit version
alissn Jan 5, 2024
0c7c40b
[feat] update php version on compser.json
alissn Jan 5, 2024
2b32650
Add Carbon 3 to dependencies
hosseinsalemi Apr 20, 2024
0cd7624
Merge pull request #169 from hosseinsalemi/master
morilog Apr 30, 2024
a9729db
Merge pull request #165 from alissn/AddNewMethods
morilog Apr 30, 2024
23bfd03
[fix] fix conflicts
alissn Apr 30, 2024
5be66e3
readme - update new method for get getEndDayOfYear && getFirstDayOfMonth
psobhanlo Apr 30, 2024
16a9d91
Merge pull request #166 from alissn/AddGithubAction
morilog May 9, 2024
f475f4d
Merge pull request #171 from psobhanlo/master
morilog May 9, 2024
02b6941
Added diff method
omidfarahani Sep 16, 2022
c972a69
Updated readme and added getLastDayOfMonth, getLastDayOfYear and diff…
omidfarahani Sep 16, 2022
937efba
Merge pull request #173 from dizatech/master
morilog May 9, 2024
48d6bf0
getDayNames: normalize labels
SaeedDev94 May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

issuehunt: morilog

35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: tests

on:
push:
pull_request:

jobs:
tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: [ 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 ]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none

- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/vendor
composer.phar
composer.lock
.DS_Store
.DS_Store
.idea
.phpunit.*
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
language: php

php:
- 5.3
- 5.4
- 5.5

php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev

script: phpunit
script: ./vendor/bin/phpunit
14 changes: 0 additions & 14 deletions Facades/JDateTime.php

This file was deleted.

14 changes: 0 additions & 14 deletions Facades/Jdate.php

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013 miladr
Copyright (c) 2016 Morilog

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
Loading