Commit Graph

34 Commits

Author SHA1 Message Date
Kazhnuz 87a0a1d05c
remove old library file
Seems that it wasn't removed like it should have
2018-11-09 11:31:57 +01:00
Kazhnuz 8f7f182152 readme: fixe a paragraph error 2018-11-09 11:30:42 +01:00
Kazhnuz 4a7c0f6d2b readme: separate the two exemples 2018-11-09 11:29:57 +01:00
Kazhnuz eb48349ce5 update readme to show the new function names 2018-11-09 11:26:07 +01:00
Kazhnuz 784d0351f1 romme-calendar: simplify the complete formatted string 2018-11-09 11:21:20 +01:00
Kazhnuz d39db03b18 romme-calendar: add a way to get formatted string from current date 2018-11-09 11:19:33 +01:00
Kazhnuz 29e003fb98 romme-calendar: add wrapper function to get formated string from jd 2018-11-09 11:15:01 +01:00
Kazhnuz 7c9b78d749 romme-calendar: rename date_romme() to datetoromme() 2018-11-09 11:10:25 +01:00
Kazhnuz e1f66cac33 romme-calendar: rework how works formatted string date from gregorian 2018-11-09 11:08:56 +01:00
Kazhnuz 0ca678243a romme-calendar: rename and reorder formatting string functions 2018-11-09 11:02:32 +01:00
Kazhnuz a0c9d463e1 romme-calendar: fix priting of epiphany in formatted string functions 2018-11-09 10:43:34 +01:00
Kazhnuz 14bd6481d8 romme-calendar: add new function to get a better string from romme date string 2018-11-09 10:38:02 +01:00
Kazhnuz b2e49ab064 romme-calendar: add functions to get month/day names from date string
It'll allow the user to get these usefull infos directly from a date string, without having to convert it first
2018-11-08 22:22:23 +01:00
Kazhnuz b9f0a81178 romme-calendar: prefix name getting functions with repcal_
They don't use the romme date string, and are pretty generic for any republican calendar.
2018-11-08 21:55:54 +01:00
Kazhnuz d2575b7edb romme-calendar: add date_romme
Add a function to get the romme string from the current date.
2018-11-07 17:57:54 +01:00
Kazhnuz 3b25e412f1 exemple: cover more functions 2018-11-07 17:50:18 +01:00
Kazhnuz b333039cd1 romme-calendar: add way to get month, day and year from the romme string 2018-11-07 17:43:30 +01:00
Kazhnuz 087c917900 romme-calendar: better hierarchy of functions and comments 2018-11-07 17:36:18 +01:00
Kazhnuz 999f0b051d romme-calendar: add a function to get easily the month+day name 2018-11-07 17:21:55 +01:00
Kazhnuz 1151e22610 rebrand librairy as a romme republican calendar converter
Rebrand entirely library as a romme republican calendar converting library, as it doesn't (and won't) handle other system of counting. It mean a change in function names, in order to make all more similar.
2018-11-07 16:54:12 +01:00
Kazhnuz 74f8be2cfa republicandate: simplify epiphany handling
Make the epiphany function automatically handle sansculottide days
2018-11-07 16:43:22 +01:00
Kazhnuz c655ee5347 republicandate: invert sansculottide day+month string and epiphany
It make the string easier to use, as the day+month string helps more the user to see where he is in the romme year now.
2018-11-07 16:34:43 +01:00
Kazhnuz 97383d68f5 republicandate: simplify handling of sanscullotides number
Make the addition of the name part of the ordinal string system
2018-11-07 16:30:58 +01:00
Kazhnuz 5e660461ee republicandate: add more comments 2018-11-07 16:19:31 +01:00
Kazhnuz 18179c35e4 republicandate: fix styling issues in FrenchMonthNames 2018-11-07 15:56:41 +01:00
Kazhnuz 23b61064ad republicandate: deprecate gregorian2FrenchDateArray
This functions wasn't used anywhere, and was just an array using the month name instead of the number. Replaced by the different *_getArray functions.
2018-11-07 15:54:17 +01:00
Kazhnuz 1e8b0051fa republicandate: add new array functions
Add array functions for different needs (from a romme_datestring, a julian day count or a gregorian date). Simplify functions that need said arrays.
2018-11-07 15:52:18 +01:00
Kazhnuz 9495bfdbf2 add an exemple file 2018-11-07 15:30:30 +01:00
Kazhnuz abc1262176 republicandate: better variable names 2018-11-07 14:59:32 +01:00
Kazhnuz ef296b2a52 republicandate: rename extended_jdtofrench_romme to jdtoromme
The old function name was too verbose.
2018-11-07 13:43:58 +01:00
Kazhnuz df60538787 republicandate: make identation consistent 2018-11-07 13:36:43 +01:00
Kazhnuz 933cc637d6 Use explode to support PHP7 2017-07-03 13:15:02 +02:00
Kazhnuz b9bc4b75a6 Add license 2016-11-13 18:27:30 +01:00
Kazhnuz 5aac474602 Commit initial 2016-11-13 18:26:24 +01:00