Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Timeformat: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 6: Line 6:
|assignee = Rossiani Wijaya
|assignee = Rossiani Wijaya
}}
}}


{{Managing a Moodle site}}
{{Managing a Moodle site}}
Line 13: Line 12:
User can change the timeformat setting in ''my profile settings > edit profile > timeformat''.
User can change the timeformat setting in ''my profile settings > edit profile > timeformat''.


====Default timeformat====
==Timeformat options==
There are three options available for displaying timeformat:
# Default
# 12 hours
# 24 hours
 
====Default format====
The default value for timeformat is specify according to the language that used to display the content for the site.
The default value for timeformat is specify according to the language that used to display the content for the site.


Both site and user setting is automatically assign to ''Default'' value.
Both site and user setting is automatically assign to ''Default'' value.


====Hierarchy for timeformat ====
====12 hours format====
If user specify their timeformat setting, it would overwrite the site setting.
Hour is display between 0-12.  An example for displaying the time for 3 O'clock in the afternoon is 3:00 pm.


====Options value for timeformat ====
====24 hours format====
There are two options available for displaying timeformat:
Hour is display between 0-24.  An example for displaying the time for 3 O'clock in the afternoon is 15:00.
1. 12 hours
2. 24 hours


====Examples for timeformat ====
==Hierarchy for timeformat ==
An example for displaying the time for 3 O'clock in the afternoon:
If user specify their timeformat setting, it would overwrite the site setting.
- 12 hours format: 3:00 pm
- 24 hours format: 15:00

Revision as of 06:33, 18 September 2012

Timeformat
Project state In Development
Tracker issue http://tracker.moodle.org/browse/MDL-11094
Discussion
Assignee Rossiani Wijaya


Template:Managing a Moodle site

Timeformat settings

Administrator can change the following location settings in Settings > Site administration > Advanced features > Time display format. User can change the timeformat setting in my profile settings > edit profile > timeformat.

Timeformat options

There are three options available for displaying timeformat:

  1. Default
  2. 12 hours
  3. 24 hours

Default format

The default value for timeformat is specify according to the language that used to display the content for the site.

Both site and user setting is automatically assign to Default value.

12 hours format

Hour is display between 0-12. An example for displaying the time for 3 O'clock in the afternoon is 3:00 pm.

24 hours format

Hour is display between 0-24. An example for displaying the time for 3 O'clock in the afternoon is 15:00.

Hierarchy for timeformat

If user specify their timeformat setting, it would overwrite the site setting.