I would like to be able to show a date as a day of the week. Using dddd works if the date is at least a week away:
Saturday
[date=2025-11-01 time=18:00:00 timezone="Europe/Madrid" format="dddd"]
But if the date is yesterday or in 48 hours, the time appears along with yesterday/today/tomorrow:

- [date=2020-10-31 time=18:00:00 timezone="Europe/Madrid" format="dddd"]
- [date=2020-11-01 time=18:00:00 timezone="Europe/Madrid" format="dddd"]
- [date=2020-11-02 time=15:00:00 timezone="Europe/Madrid" format="dddd"]
- [date=2020-11-03 time=15:00:00 timezone="Europe/Madrid" format="dddd"]
Is there a way to prevent this smart behavior?
             
            
              
              
              1 Like
            
            
           
          
            
              
                Slowhand
                (Slowhand)
              
              
                  
                  
              2
              
             
            
              I asked this question a while ago in this thread
Short answer was to put in the words “calendar=off”
[ date=2020-11-01 time=11:10:00 timezone="America/Chicago"calendar=off ]
2020-11-01T17:10:00Z
             
            
              
              
              4 Likes
            
            
           
          
            
            
              Thank you so much for asking it (and sharing it). 
I found the tests here:
https://github.com/discourse/discourse/blob/master/plugins/discourse-local-dates/test/javascripts/lib/local-date-builder-test.js.es6#L304
I didn’t know there were all these other options: 
- timezones
 
- displayedTimezone
 
- countdown
 
             
            
              
              
              1 Like
            
            
           
          
            
              
                system
                (system)
                  Closed 
              
              
                  
                  
              4
              
             
            
              This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.