Local time

From semantic-mediawiki.org

It is possible to display local time instead of the server time on properties of type date. 12.

In order to show local times on special pages in SMW, the option has to be enabled using the user preferences.

In printouts, the parameter #LOCL#TO can be used.

Example[edit]

{{#ask:
 [[Modification date::+]]
 |?Modification date
 |?Modification date#LOCL#TO
 |limit=2
}}
 Modification date"Modification date" is a predefined property that corresponds to the date of the last modification of a subject and is provided by Semantic MediaWiki.Modification date"Modification date" is a predefined property that corresponds to the date of the last modification of a subject and is provided by Semantic MediaWiki.
"Data is data" and the future of data browsing30 October 2018 10:50:1111:50:11, 30 October 2018 
"Semantic- Mediawiki.org" tiene un nuevo look14 April 2018 12:12:0113:12:01, 14 April 2018 
... further results

When local dates are displayed an L indicates that local time is displayed. On mouseover, the ISO time is displayed.

Further examples[edit]

See also[edit]

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2515
  2. ^  Semantic MediaWiki: GitHub issue gh:smw:2509