Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrkansagara/tz.jl
A simple Julia API extension for DateTime.
https://github.com/vrkansagara/tz.jl
Last synced: 2 days ago
JSON representation
A simple Julia API extension for DateTime.
- Host: GitHub
- URL: https://github.com/vrkansagara/tz.jl
- Owner: vrkansagara
- License: mit
- Created: 2023-08-20T06:19:20.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-18T14:54:00.000Z (about 1 year ago)
- Last Synced: 2024-05-01T15:42:51.894Z (7 months ago)
- Language: Julia
- Homepage: https://vrkansagara.github.io/Tz.jl
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tz
A simple Julia API extension for DateTime.
This package will provide you easy remember work flow with the DateTime interface of julia `DateTime`.
### Example
- Add package using `import Pkg; Pkg.add("Tz")`
- import package using `import Tz`
- you can work with following example.(1) Get package version
```bash
Tz.version()
```(2) Gree the message
```bash
Tz.greet()
```(1) Get current timestamp
```bash
Tz.now()
```### Development instruction
- Go to clone directory
- using Pkg; Pkg.activate("."); Pkg.instantiate(); Pkg.precompile() ; push!(LOAD_PATH, ".")
- using Tz; Tz.version()
- using Pkg; using Dates ; Pkg.gc(;collect_delay=Dates.Day(0))Pkg.resolve()
#TL;DR
- or single line command to work with clone project is `julia --project=@.`
- using Tz; Tz.version()### How can I use this package directly from github.
There are two ways using Julia REPL(1) you can use ]add or
(2) ]dev from Julia REPL[![Build Status](https://github.com/vrkansagara/Tz.jl/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/vrkansagara/Tz.jl/actions/workflows/CI.yml?query=branch%3Amaster)