molla2005b Posted July 24, 2016 Share Posted July 24, 2016 Hi,I have attached it in here Jalalicalender.rar Best regards. Quote Link to comment Share on other sites More sharing options...
molla2005b Posted July 26, 2016 Share Posted July 26, 2016 hi any update for this problem? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 28, 2016 Share Posted July 28, 2016 Hi, Can you try this approach?!: procedure TMainForm.btn1Click(Sender: TObject); var yyyy, mm, dd: Word; begin //edDate2.DateTime:=edDate2.DateTime+1; // <------------ DecodeDate(edDate2.DateTime, yyyy, mm, dd); UniSession.AddJS(edDate2.JSName + '.setValue(new Date('+ IntToStr(yyyy) +', '+ IntToStr(mm-1) +', '+ IntToStr(dd+1) +'))'); lb2.Caption:=FormatDateTime('YYYY/MM/DD',edDate2.DateTime); end; Best regards. Quote Link to comment Share on other sites More sharing options...
molla2005b Posted July 29, 2016 Share Posted July 29, 2016 thank you very much dear Delphi Developer your approach solve my problem Best regards. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted December 2, 2017 Share Posted December 2, 2017 Hi If change kind from tUniDate to tUniDateTime ,The date don't convert to Jalali . How to can fix it? Best Regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 2, 2017 Share Posted December 2, 2017 Hi, http://forums.unigui.com/index.php?/topic/1202-jalali-calendar/page-2&do=findComment&comment=35004 ? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted December 2, 2017 Share Posted December 2, 2017 Thanks. Quote Link to comment Share on other sites More sharing options...
CAVeter Posted November 30, 2019 Share Posted November 30, 2019 On 1/18/2016 at 8:45 AM, Sherzod said: Hi, 1. Download these files and copy to directory for example "files/": https://raw.githubusercontent.com/behrang/Ext.ux.JalaliDatePlugin/master/Jalali.js https://raw.githubusercontent.com/behrang/Ext.ux.JalaliDatePlugin/master/JalaliDate.js https://raw.githubusercontent.com/behrang/Ext.ux.JalaliDatePlugin/master/JalaliDatePlugin-fa_IR.js https://raw.githubusercontent.com/behrang/Ext.ux.JalaliDatePlugin/master/JalaliDatePlugin.js * JalaliDatePlugin-fa_IR.js - for localization 2. UniServerModule.CustomFiles add these "lines": files/Jalali.js files/JalaliDate.js files/JalaliDatePlugin.js files/JalaliDatePlugin-fa_IR.js 3. UniDateTimePicker->ClientEvents->UniEvents ... add beforeInit fn: function beforeInit(sender, config) { sender.plugins = [new Ext.ux.JalaliDatePlugin] } Try... Best regards. Why is it difficult to display the date in the Opera browser? http://s7.picofile.com/file/8380201950/Help.png Quote Link to comment Share on other sites More sharing options...
Touska Posted December 26, 2019 Share Posted December 26, 2019 Hi, for new version of Extjs , you must download js library from this address below : https://github.com/omidd1315/Extjs-6-Persian-Date-Plugin and UniDateTimePicker->ClientEvents->UniEvents ... add beforeInit fn: function beforeInit(sender, config) { sender.plugins = ['jalalidate'] } then work fine. Quote Link to comment Share on other sites More sharing options...
CAVeter Posted May 31, 2020 Share Posted May 31, 2020 On 12/26/2019 at 1:54 PM, Touska said: Hi, for new version of Extjs , you must download js library from this address below : https://github.com/omidd1315/Extjs-6-Persian-Date-Plugin and UniDateTimePicker->ClientEvents->UniEvents ... add beforeInit fn: function beforeInit(sender, config) { sender.plugins = ['jalalidate'] } then work fine. این کد خرداد ماه 1399 اشتباه نمایش میدهد و وقتی که کلیک میکنید همان روز در تیرماه نمایش میدهد؟؟؟ Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 31, 2020 Share Posted May 31, 2020 5 hours ago, CAVeter said: این کد خرداد ماه 1399 اشتباه نمایش میدهد و وقتی که کلیک میکنید همان روز در تیرماه نمایش میدهد؟؟؟ Hello, Can you please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 11, 2020 Share Posted November 11, 2020 Hi Is there a solution to using a Jalali calendar in Calendar Panel as use in DatePicker in below link? Regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 11, 2020 Share Posted November 11, 2020 Hi, 1 hour ago, A.Soltani said: Is there a solution to using a Jalali calendar in Calendar Panel as use in DatePicker in below link? Where? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 12, 2020 Share Posted November 12, 2020 I mean current topic. Quote Link to comment Share on other sites More sharing options...
hp1361 Posted November 15, 2020 Share Posted November 15, 2020 On 11/11/2020 at 6:21 PM, Sherzod said: Hi, Where? Is there a solution? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 15, 2020 Share Posted November 15, 2020 1 hour ago, hp1361 said: Is there a solution? Hello, First of all, please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted November 18, 2020 Share Posted November 18, 2020 Hi, I use 1.90.0.1535 Ver and professional edition. Regards. Quote Link to comment Share on other sites More sharing options...
gholami Posted November 19, 2020 Share Posted November 19, 2020 hi when i use google chrome has problem to show position of content but in internet explorer its OK Quote Link to comment Share on other sites More sharing options...
ali abbasi Posted November 29, 2020 Share Posted November 29, 2020 Hi sherzod If date is null then I want to uniDateTimePicker do not show any value. I tested below code and uniDateTimePicker show "1/11/28-". if ( DM1.Main_FDQuery.FieldByName('give_date_of_card').AsString = null ) then DynamicForm.give_date_of_card_UniDateTimePicker.DateTime := 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.