A full-featured toolset for Persian Applications Created by Angular (v > 2) containing Pipes, Services, Directives, and javascript Similar Date object for working with Jalali Date.
Hi, I use "ng build --prod" and it return this error:
ERROR in Type FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts is part of the declarations of 2 modules: AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts! Please consider moving FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts to a higher module that imports AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts. You can also create a new NgModule that exports and includes FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts then import that NgModule in AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts.
hi
thanks for this project, it is very useful.
i use command "npm install ngx-persian --save " and after install i have this error in my project:
Failed to compile.
node_modules/ngx-persian/lib/ngx-persian.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (ngx-persian) which declares NgxPersianModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
1 export declare class NgxPersianModule {
~~~~~~~~~~~~~~~~
tnx
سلام وقت بخیر
من توی داکیومنت ها گشتم و چیزی شبیه PersianDate Pipe ندیدم.
اگر من جا انداختم راهنمایی کنین.
اگر هم چنین فیچری نیست لطفا اضافه کنین چون خیلی به درد بخوره که بشه با یه پایپ ساده، دیت تامی که از سمت سرور میاد رو به جلالی تبدیل کنه