List of changes of this library during time.
You can get different version here or download them from npm command line.
- Timezone added to the JDate.
- The
getUTCTime
method added to the JDate.
- The library made compatible with Angular 13.
- Code style problems fixed.
- All enum names converted to the UPPER_CASE pattern.
- ngx-persian updated to Angular 11.
- TestApplication updated to Angular 11.
compilerOptions
added to the tsconfig file for targeting es5 and supporting experimental features. Without the later, new version of typescript raises error.function
s in thedescribe
s and test cases replaced by arrow functions.- In the string literals, double quotation replaced by single quotation.
- Missing semicolons added.
- Long lines broken for meeting line max length constraint.
- radix value added to the
parsInt
calls. getVarDate
field added to theJDate
for making it compatible with theDate
interface.
addMonth
method added to theJDate
class.
Add Date
object conversion to the JDate
objects in the jdate
before formatting the object.
- Add
jdate
pipe for formattingJDate
objects.
- NationalCodeService for validating Iranian national code added.
2.NationalCodePipe(
nationalCode
) is no longer throws an Error when input is not a valid string or is not in the valid range.
- Adding
getGeorgianDate
method to the JDate class for getting corresponding Georgian date from Jalali date object. - Fix some mistakes in the README.md file.
- Add License to and more keywords to package.json file of the library.