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

  • SEARCH
  • Home
  • 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 8352309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:55:34+00:00 2026-06-09T08:55:34+00:00

When I display the compact countdown with two significant digits it shows something like:

  • 0

When I display the compact countdown with two significant digits it shows something like:

“2d 12:00:00” and minutes/seconds stay at “00” forever. How can I get it to display something like: “2d 12h” instead?

Strangely enough if I use the non-compact output, everything works as expected, i.e. it shows only “2 days 12 hours”.

  • 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-09T08:55:36+00:00Added an answer on June 9, 2026 at 8:55 am

    Apparently the compact option has a fixed layout. In order to achieve what I want, a custom layout needs to be created as follows

    layout: '{d<}{dn}{dl}{d>} {h<}{hn}h{h>} {m<}{mn}m{m>} {s<}{sn}s{s>}'

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

Sidebar

Related Questions

I would like to display an animated gif on a .NET Compact Form .
For a summary I want to display a latex matrix in an as compact
I need to display the .NET Compact Framework version number on the screen. I
I have a SQL Server Compact Edition Database file, and I want to display
I don't know how to display a execution of a method in Compact .Net
cld makes a compact letters display of the differences. The greatest different mean gets
When trying to call a web method from the .net compact framework I get
$this->loadModel('Product'); $this->set('products',$this->Product->find('list',array('product'=>array('products.name' => 'products.price')))); $this->set(compact('products')); I am trying to make it so I can
Display whitespace characters in Eclipse is a simple trick , but unfortunately this applies
Error display as Incorrect syntax near '@Cmp_DocPath', if i use comment Line code I

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.