Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8230375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:06:43+00:00 2026-06-07T17:06:43+00:00

I made a calendar with smart GWT. Disabled both Day/Week tab and set the

  • 0

I made a calendar with smart GWT. Disabled both Day/Week tab and set the default to Month. I want to remove the am/pm time from the calendar. I don’t need am/pm time because I’m using day as the smallest time unit.

Is there are any way to remove it? I was able to alter it by using:

calendar.setTimeFormatter(TimeDisplayFormat.TO24HOURTIME);

but there is no option to disable it, only to alter it.

Is this possible at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:06:44+00:00Added an answer on June 7, 2026 at 5:06 pm

    use:

    calendar.setTimeFormatter(TimeFormatter.TOSHORT24HOURTIME);
    

    Edit:

    What you want is not supported in the current formatter enum, but I think you can create some workaround (haven’t try that although but give it a try).

    1. edit the Calendar.js and change it to something like this (see here):

      formatCellValue : function (value, record, rowNum, colNum, grid) {
           return "";
      }
      
    2. Create a copy of you new formatter, that is very like NativeTimeDisplayFormatter (it’s final so you can’t exteds it), and in the format method return you date format (in JS).
      then overload the setTimeFormatter so you’ll be able to get your formatter, and do the same functionallity like the original one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've made a simple calendar where you can select year and month through a
Hi guys :) i want to integrate a ready made CALENDAR on my oracle
I have made event Calendar using EKEventKit, Now I want to add my iphone
I made an iphone app to capture image from camera and to set that
I am currently trying to implement the wonderful jQuery plugin 'week calendar' ( here
I'm developing this time container which basically contains instances of a class called week,
I have a file for a calendar made with javascript called calendar_db.js, in it
When my program starts, I want it to immediately fill the Calendar class with
I have made a calendar application for the iPhone in which I have a
I have made a calendar control based on the pivot control. Every pivot item

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.