साँचा:TwitterSnowflake
दिखावट
| This template uses Lua: |
| Related pages |
|---|
This is a template that wraps and simplifies Module:TwitterSnowflake.
Usage
[संपादित करें]The template accepts a single positional parameter and returns a timestamp based on the ID passed. The timestamp is by default in the format of "January 1, 2021", but if |format=dmy is passed, it's instead presented as "1 January 2021".
Examples
[संपादित करें]{{TwitterSnowflake|1345021162959503360}} returns January 1, 2021.
{{TwitterSnowflake|1345021162959503360|format=dmy}} returns 1 January 2021.
Notes
[संपादित करें]When no date is provided, the date "November 4, 2010" is returned. This also occurs if a number lower than that of a valid snowflake is provided.
See also
[संपादित करें]| ऊपर दिए गए निर्देश साँचा:TwitterSnowflake/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |