Telerik Forums
Kendo UI for Angular Forum
1 answer
45 views
Is there a way to have these controls always displayed rather than having them associated with a textbox and click?
Hetali
Telerik team
 answered on 20 May 2023
0 answers
59 views
Is it possible to default the am/pm portion of the time picker display?
The reason I ask is if the valid range already knows that you can only enter PM time, then we should be able to default this AM/PM portion.

Thanks!
Leslie Portugal
Top achievements
Rank 1
 asked on 20 Mar 2023
4 answers
106 views

Hello,

In our application, we offer the users possibility to customize settings and save them inside MongoDB, and some of those settings are of DateTime/Time type. 

The problem is, that when the user sets a time inside the DateTime Picker (let's say 17 April 2020, 23:59), the value saved inside MongoDB is the serialized one, 2020-04-17T20:59:00.000Z  (I write the ngModel in console and I get Fri Apr 17 2020 23:59:00 GMT+0300 (Eastern European Summer Time), so the serialization is correct considering the time zone, but we need to save in database the exact date the users sets inside the DateTimePicker.

console.log(this.dateModel, JSON.stringify(this.dateModel)) writes
Fri Apr 17 2020 00:00:00 GMT+0300 (Eastern European Summer Time)
'"2020-04-16T21:00:00.000Z"'

What can be done so the DateTimePicker shows the date with the same time as when it is serialized?

PS. We have same functionality in an older application made with AngularJS, but there is no problem because the Date Picker for jQuery UI accepts strings as ng-model.

 

Thanks,

Iuliana

Iuliana Maria
Top achievements
Rank 1
Iron
 updated answer on 10 Jun 2022
1 answer
44 views
Hi! Do you have like this component ? 
Dimiter Topalov
Telerik team
 answered on 15 Mar 2022
0 answers
33 views

Hi,

With Kendo Jquery i could format like seeing in image, but in TimePicker i could not?

How could i have same view ?

 

Regards

Masip
Top achievements
Rank 1
Iron
 asked on 14 Feb 2022
1 answer
40 views

Hi,

I was wondering if it is possible to default the AM/PM designator programmatically, without having to set an actual time value to the time picker?

The min property does work, however it does not seem to synchronise with the AM/PM designator on the actual input field.

For example, if I've set the min to be 1:00PM, then the list actually does not have the AM available - which is correct. However, the input field still has "hh:mm am" displaying.

I suppose one other way could be to change the dayPeriod placeholder text from AM to PM, if that is at all possible using the currently existing API.

Martin
Telerik team
 answered on 23 Nov 2021
1 answer
57 views
Is there a way to hide the input boxes in the datepicker and timepicker? I am trying to just make use of the popups and no show the inputs.
Ivo
Telerik team
 answered on 11 Oct 2021
1 answer
560 views

I am using the time picker to enter times.  I am in the UK and currently all times are UTC (GMT is currently UTC).

I save my values to the database and somehow Kendo has managed to subtract an hour from the saved value.

It's no problem when I bring back the values to display in the time picker, it somehow adds an hour to display the correct time.

I am working with the abp framework which has standard UTC conversion so all my values in the database are held as UTC.

But Kendo somehow has managed to find a time format which doesn't exist making it very difficult to work with.

I would post some code to further demonstrate but the option for "Formatting options" at the top of this text box simply switches the value to "Hide formatting options".

Can someone tell me what's going on?

Dimitar
Telerik team
 answered on 17 Feb 2020
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?