Metadata-Version: 2.1
Name: crontzconvert
Version: 0.1.1
Summary: Change crontab between two timezones.
Home-page: https://github.com/vidocqh/cron-timezone-convert
Author: Vidocq
Author-email: vidocqho@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pytz

# Change cron between timezones

Gives a crontab expression, source and target timezones, return a new crontab expression that times change according to the given timezones.

## Install
```bash
pip3 install crontzconvert
```

## Usage

```python
convert(cron_expression, source_timezone, target_timezone)
```

```python
>> from crontzconvert import convert
>> convert('* 0/12 * * *', 'Asia/Shanghai', 'UTC') # UTC+8 to UTC
'* 16/12 * * *'
```

### TODO

Change day and week when switch timezone


