Angular material 2 jalali datepicker - datepicker

I use this link for Persian date-picker But the calendar has problem.
days start from 12 in all months.
Esfand of 1396 has not 10 and 11 days!

Related

iOS16 bug in SwiftUI.Text(_: Date, style: Text.DateStyle)

I made some widget that used to as a digital clock formatted HH:mm:ss
below is code, or ref: SwiftUI iOS 14 Widget CountDown
let todayMidnight: Date // this property means today's midnight date&time Ex) 2022-08-30 0:0:0, yyyy-MM-dd HH:mm:ss
Text(todayMidnight, style: .timer)
before iOS16 beta, it works well but, not now
I know other way that insert Entry per second to timeline
but first time, I thk it doing well, but after some time, stopped
App WidgetSmith have problem same like me
is someone know about this?
This is a bug in iOS 16.0.
I have submitted feedback.
The good news is that this problem has been fixed in the latest version of iOS16.1

ng datepicker displays calender incorrectly saturday let empty

I am using ng datepicker to pick date in my application. Below code displays correct calendar in chrome but not in IE and firefox. Please view the below image and pour in your experiences and suggestions. Currently our customer is live and this is causing major issues.
<ng-datepicker formControlName="Date"></ng-datepicker>
Moved from ng-datepicker to material datepicker to fix this issue.

Tapku Calendar - How to implement List, Day and Month view using Tapku Calendar?

i want to implement a calendar application like Month View,Day View and Week View using Tapku library for my iPhone application.MonthView already there.So i am concentrating Day and week view.If anybody having any idea for this,Please let me know?
Please let me know How to start for implementing Day and MonthView.
Thanks in Advance,
Jayaprakash S
You can refer this GitHub link to see the implementation of a calendar application like Month View,Day View and Week View using Tapku library.
https://github.com/devinross/tapkulibrary/pull/57/files
Alternatively you can try MACalendarUI project which offers calendar user interface for iPhone applications.
https://github.com/muhku/calendar-ui

Strange Timezone issue with Tapku Library Calendar

I have a weird problem with the Tapku Library Calendar.
I am showing events in Tapku Library Calendar. I am getting date from my server in America/Toronto Time zone. ie. -500.
My system and calendar time zone set to Toronto,Canada in Setting app.
So, the problem is when Calendar show one event in wrong day view (day tiles). Event is on 16th November 2011 and it is showing on 17th on to the Calendar.
11/16/2011 17:00 -0500
So I found solution to make time zone as GMT.
[dateFormatter setTimeZone:[NSTimeZone timeZoneWithAbbreviation:#"GMT"]];
And above working fine with Toronto time zone. Now, I set my timezone to Rome,Italy and It suppose to show that event on 16th too but it is showing on 17th.
so, the problem is if I keep above line it works fine with the Toronto, Canada Timezone and problem with the Rome,Italy Timezone and If I remove this line then it works fine for Rome,Italy and problem with Toronto,Italy.
For this I tried to set systemTimeZone and localTimeZone as well but still no luck.
So, what should I do to keep event on correct day view for all the timezones ?
Please let me know if you require any further details.
Here is an answer to a similar problem:
https://stackoverflow.com/a/9405625/220154
I think the tapku calendar sets GMT:0 as the date it uses to compare against your dates, so it mess a lot with timezones. probably you would need to reduct the date to GMT midnight when you are checking what dates to include in the calendar.
hope it helps.
All [NSTimeZone timeZoneForSecondsFromGMT:0]; should be replaced with [NSTimeZone systemTimeZone];
When it is not systemTimeZone you have to edit your dates coming out of the UIDatePicker to reflect time zone hour change, and all dates would be displayed a day later if you don't.
Here is the issue : https://github.com/devinross/tapkulibrary/issues/40

Show local notification for selected hours for everyday iphone sdk

I have developed application, I have successfully integrated the code of the local notification. Now I want is to show notification for selected hours only.
For example I want to show notification from 8:00 am to 8:00 pm every day every hours.
so how I can set repeat interval for this task.
Thanks in advance.
Satish
You can set the repeatInterval property of UILocalNotification.
To change the repeat interval or disable the notifications, I think your app will have to become active. For example, lets say you want to display the notifications from 8 AM to 8 PM. The 8 PM notification comes up but the user taps the 'close' button on the alert. In this case, I don't think anything can prevent the 9 PM notification from displaying unless your app becomes active between 8 & 9 PM.
In case the user does not close the notification & does come back to your app, you can check the current time & set the repeatInterval to 0 (don't repeat).
HTH,
Akshay