Skip to content
Snippets Groups Projects
Commit 30d76ffa authored by jurgenhaas's avatar jurgenhaas
Browse files

Model 0031

parent 65dca038
No related branches found
No related tags found
1 merge request!85Model 0031
Pipeline #980950 passed
---
title: ECA Library - Working with dates and time
version: v1
tags:
- bpmn
- library
- simple
- date
- time
- timezone
---
# Working with dates and time
Version v1
<script>url='bpmn_io-eca_lib_0031.xml';archive='bpmn_io-eca_lib_0031.tar.gz'</script>
{!include/library/viewer.html!}
## Purpose
This model works with a date and time value from a node field and does various things to it: outputting in different formats, adding some time range, changing timezone, etc.
Especially the timezone feature requires a [patch to the tamper module](https://www.drupal.org/project/tamper/issues/3268276#comment-15000895).
The creation of this module was recorded and the video with additional explanations can be [watched here](https://tube.tchncs.de/w/h8YzBS8cSVdNux1FUcYkhm).
## Dependencies
- config
- field.field.node.article.field_date_1
- field.storage.node.field_date_1
- node.type.article
- module
- datetime
- eca_content
- eca_misc
- eca_tamper
- node
## Events
- Controller arguments have been resolved
## Changelog
`v1`
: Initial release
File added
This diff is collapsed.
......@@ -26,6 +26,7 @@ simple:
'Send notification including revision log message for node changes': library/simple/send_notification_including_revision_log_message_for_node_changes.md
'Switch - Case - Default': library/simple/switch_case_default.md
'Update user entity when they save an article node': library/simple/update_user_entity_when_they_save_an_article_node.md
'Working with dates and time': library/simple/working_with_dates_and_time.md
'test models':
'Basic entity tests': 'library/test models/basic_entity_tests.md'
'Cross references': 'library/test models/cross_references.md'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment